# Template file for 'popt'
pkgname=popt
version=1.16
revision=6
build_style=gnu-configure
short_desc="Command line option parsing library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://rpm5.org"
license="MIT"
distfiles="http://rpm5.org/files/$pkgname/$pkgname-$version.tar.gz"
checksum=e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8

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
	}
}
