void-packages/srcpkgs/argtable/template

34 lines
823 B
Bash

# Template file for 'argtable'
pkgname=argtable
version=2.13
revision=1
wrksrc="${pkgname}${version//./-}"
build_style=gnu-configure
short_desc="ANSI C command line parser"
maintainer="Simon Whelan <si.whelan@gmail.com>"
license="LGPL-v2"
homepage="http://argtable.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/argtable/argtable2-13.tar.gz"
checksum=8f77e8a7ced5301af6e22f47302fdbc3b1ff41f2b83c43c77ae5ca041771ddbf
argtable-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
vmove usr/share/man
}
}
argtable-doc_package() {
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
noarch=yes
pkg_install() {
vmove usr/share/doc
}
}