void-packages/srcpkgs/popt/template
2017-11-17 10:31:29 +01:00

31 lines
672 B
Bash

# Template file for 'popt'
pkgname=popt
version=1.16
revision=7
build_style=gnu-configure
short_desc="Command line option parsing library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://rpm5.org"
license="MIT"
distfiles="http://rpm5.org/files/$pkgname/$pkgname-$version.tar.gz"
checksum=e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8
do_check() {
make check
}
post_install() {
vlicense COPYING
}
popt-devel_package() {
depends="popt>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/share/man/man3
}
}