35 lines
964 B
Bash
35 lines
964 B
Bash
# Template file for 'parted'
|
|
pkgname=parted
|
|
version=3.5
|
|
revision=1
|
|
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"
|
|
checkdepends="e2fsprogs perl python3"
|
|
short_desc="GNU Parted disk partition resizing program"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://www.gnu.org/software/parted/"
|
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=4938dd5c1c125f6c78b1f4b3e297526f18ee74aa43d45c248578b1d2470c05a2
|
|
|
|
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"
|
|
}
|
|
}
|