void-packages/srcpkgs/parted/template

38 lines
994 B
Plaintext
Raw Normal View History

# Template file for 'parted'
pkgname=parted
2012-03-20 07:53:27 +01:00
version=3.1
revision=5
build_style=gnu-configure
2013-03-20 21:41:18 +01:00
configure_args="--without-included-regex --disable-rpath"
hostmakedepends="pkg-config"
makedepends="libuuid-devel libblkid-devel ncurses-devel readline-devel>=6.3 device-mapper-devel"
short_desc="The GNU Parted disk partition resizing program"
2011-05-26 10:52:41 +02:00
homepage="http://www.gnu.org/software/parted/"
2012-03-20 07:53:27 +01:00
license="GPL-3"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://ftp.gnu.org/gnu/parted/parted-$version.tar.xz"
2012-03-20 07:53:27 +01:00
checksum=5e9cc1f91eaf016e5033d85b9b893fd6d3ffaca532a48de1082df9b94225ca15
2014-02-27 16:04:32 +01:00
pre_build() {
# Fix for readline>=6.3
sed -e 's,(CPPFunction\*),,g' -i parted/ui.c
2014-02-27 16:04:32 +01:00
}
libparted_package() {
short_desc+=" - shared library"
pkg_install() {
2014-02-21 17:11:05 +01:00
vmove "usr/lib/*.so.*"
}
}
libparted-devel_package() {
2014-02-21 17:11:05 +01:00
depends="libparted>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2014-02-21 17:11:05 +01:00
vmove "usr/lib/*.so"
}
}