# Template file for 'popt'
pkgname=popt
version=1.16
revision=4
build_style=gnu-configure
configure_args="--disable-static --disable-rpath"
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}"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/man/man3
	}
}

popt_package() {
	pkg_install() {
		vmove usr
	}
}