30 lines
707 B
Bash
30 lines
707 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.org>"
|
|
homepage="http://rpm5.org"
|
|
license="MIT"
|
|
#distfiles="http://rpm5.org/files/$pkgname/$pkgname-$version.tar.gz"
|
|
distfiles="https://fossies.org/linux/misc/popt-1.16.tar.gz"
|
|
checksum=e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8
|
|
|
|
|
|
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
|
|
}
|
|
}
|