void-packages/srcpkgs/parted/template

41 lines
1.2 KiB
Text

# Template file for 'parted'
pkgname=parted
version=3.1
revision=3
build_style=gnu-configure
configure_args="--without-included-regex --disable-rpath"
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@gmail.com>"
distfiles="http://ftp.gnu.org/gnu/parted/parted-$version.tar.xz"
checksum=5e9cc1f91eaf016e5033d85b9b893fd6d3ffaca532a48de1082df9b94225ca15
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."
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
}
}