mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Merge pull request #1246 from wwwiiilll/add-stow-package
Add stow package
This commit is contained in:
21
packages/stow.rb
Normal file
21
packages/stow.rb
Normal file
@@ -0,0 +1,21 @@
|
||||
require 'package'
|
||||
|
||||
class Stow < Package
|
||||
description 'Manage installation of multiple softwares in the same directory tree'
|
||||
homepage 'https://www.gnu.org/software/stow/'
|
||||
version '2.2.2'
|
||||
source_url 'https://ftp.gnu.org/gnu/stow/stow-2.2.2.tar.gz'
|
||||
source_sha256 'e2f77649301b215b9adbc2f074523bedebad366812690b9dc94457af5cf273df'
|
||||
|
||||
depends_on 'buildessential' => :build
|
||||
depends_on 'perl'
|
||||
|
||||
def self.build
|
||||
system "./configure", "--prefix=#{CREW_PREFIX}"
|
||||
system "make"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user