2010-01-25 16:12:59 +00:00
|
|
|
# Template file for 'parted'
|
|
|
|
pkgname=parted
|
2012-03-20 06:53:27 +00:00
|
|
|
version=3.1
|
2013-03-20 20:41:18 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-20 20:41:18 +00:00
|
|
|
configure_args="--without-included-regex --disable-rpath"
|
2013-03-24 09:21:58 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libuuid-devel libblkid-devel ncurses-devel readline-devel device-mapper-devel"
|
2010-01-25 16:12:59 +00:00
|
|
|
short_desc="The GNU Parted disk partition resizing program"
|
2011-05-26 08:52:41 +00:00
|
|
|
homepage="http://www.gnu.org/software/parted/"
|
2012-03-20 06:53:27 +00:00
|
|
|
license="GPL-3"
|
2010-01-25 16:12:59 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-10-10 09:05:24 +00:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/parted/parted-$version.tar.xz"
|
2012-03-20 06:53:27 +00:00
|
|
|
checksum=5e9cc1f91eaf016e5033d85b9b893fd6d3ffaca532a48de1082df9b94225ca15
|
2010-01-25 16:12:59 +00:00
|
|
|
long_desc="
|
|
|
|
GNU Parted is a program that allows you to create, destroy, resize, move and
|
|
|
|
copy hard disk partitions. This is useful for creating space for new
|
|
|
|
operating systems, reorganising disk usage, and copying data to new hard disks."
|
2013-04-14 09:13:30 +00:00
|
|
|
|
|
|
|
libparted_package() {
|
|
|
|
short_desc="${short_desc} - shared library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libparted-devel_package() {
|
|
|
|
depends="libparted-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
parted_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|