2010-01-25 16:12:59 +00:00
|
|
|
# Template file for 'parted'
|
|
|
|
pkgname=parted
|
2014-08-02 15:47:39 +00:00
|
|
|
version=3.2
|
2015-06-02 08:31:54 +00:00
|
|
|
revision=4
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2015-05-10 05:30:18 +00:00
|
|
|
# parted wants off_t as 64bit type
|
2015-06-02 08:31:54 +00:00
|
|
|
configure_args="ac_cv_sizeof_off_t=8 --sbindir=/usr/bin"
|
2013-03-24 09:21:58 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2015-03-27 09:50:40 +00:00
|
|
|
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"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-05-22 09:47:56 +00:00
|
|
|
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
|
2014-08-02 15:47:39 +00:00
|
|
|
checksum=858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4
|
2014-02-27 15:04:32 +00:00
|
|
|
|
2013-04-14 09:13:30 +00:00
|
|
|
libparted_package() {
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - shared library"
|
2013-04-14 09:13:30 +00:00
|
|
|
pkg_install() {
|
2014-02-21 16:11:05 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 09:13:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
libparted-devel_package() {
|
2014-02-21 16:11:05 +00:00
|
|
|
depends="libparted>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 09:13:30 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-21 16:11:05 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 09:13:30 +00:00
|
|
|
}
|
|
|
|
}
|