void-packages/srcpkgs/popt/template
2020-08-25 06:59:00 -04:00

32 lines
752 B
Bash

# Template file for 'popt'
pkgname=popt
version=1.18
revision=1
build_style=gnu-configure
hostmakedepends="autoconf tar automake libtool gettext-devel"
short_desc="Command line option parsing library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://rpm.org/"
distfiles="http://ftp.rpm.org/popt/releases/popt-1.x/popt-${version}.tar.gz"
checksum=5159bc03a20b28ce363aa96765f37df99ea4d8850b1ece17d1e6ad5c24fdc5d1
pre_configure() {
./autogen.sh
}
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
}
}