void-packages/srcpkgs/popt/template

34 lines
872 B
Bash

# Template file for 'popt'
pkgname=popt
version=1.19
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://github.com/rpm-software-management/popt"
changelog="https://github.com/rpm-software-management/popt/releases"
distfiles="https://ftp.osuosl.org/pub/rpm/popt/releases/popt-1.x/popt-${version}.tar.gz"
checksum=c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
}
popt-devel_package() {
depends="${sourcepkg}>=${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
}
}