c2bfc6b7d5
+ To reduce bandwidth and download times, packages use bz2/lzma/xz where possible. + Also use ${GNU_SITE} and ${KERNEL_SITE} where appropriate. + Clean up xlint warnings. + inetutils: update to 1.9.3 and split into subpkgs
32 lines
911 B
Bash
32 lines
911 B
Bash
# Template file for 'parted'
|
|
pkgname=parted
|
|
version=3.2
|
|
revision=3
|
|
build_style=gnu-configure
|
|
# parted wants off_t as 64bit type
|
|
configure_args="ac_cv_sizeof_off_t=8"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libuuid-devel libblkid-devel ncurses-devel readline-devel device-mapper-devel"
|
|
short_desc="The GNU Parted disk partition resizing program"
|
|
homepage="http://www.gnu.org/software/parted/"
|
|
license="GPL-3"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
|
|
checksum=858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4
|
|
|
|
libparted_package() {
|
|
short_desc+=" - shared library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
libparted-devel_package() {
|
|
depends="libparted>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|