Add Parted package (#1922)

* Add files via upload

* Add files via upload
This commit is contained in:
beliefless dogmasless
2018-03-05 23:38:23 +01:00
committed by Ed Reel
parent 5f61532e32
commit f1cbec7e3a
2 changed files with 54 additions and 0 deletions

26
packages/atool.rb Normal file
View File

@@ -0,0 +1,26 @@
require 'package'
class Atool < Package
description 'A script for managing file archives of various types. http://www.nongnu.org/atool/'
homepage 'http://download.savannah.gnu.org/releases/atool/'
version '0.39'
source_url 'http://download.savannah.gnu.org/releases/atool/atool-0.39.0.tar.gz'
source_sha256 'aaf60095884abb872e25f8e919a8a63d0dabaeca46faeba87d12812d6efc703b'
binary_url ({
})
binary_sha256 ({
})
depends_on 'perl'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package
end
end

28
packages/parted.rb Normal file
View File

@@ -0,0 +1,28 @@
require 'package'
class Parted < Package
description 'Create, destroy, resize, check, copy partitions and file systems. https://www.gnu.org/software/parted'
homepage 'https://ftp.gnu.org/gnu/parted/'
version '3.2'
source_url 'https://ftp.gnu.org/gnu/parted/parted-3.2.tar.xz'
source_sha256 '858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4'
binary_url ({
})
binary_sha256 ({
})
depends_on 'lvm2'
depends_on 'ncurses'
depends_on 'readline'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package
end
end