void-packages/srcpkgs/argtable/template

32 lines
787 B
Bash

# Template file for 'argtable'
pkgname=argtable
version=2.13
revision=2
build_style=gnu-configure
short_desc="ANSI C command line parser"
maintainer="Simon Whelan <si.whelan@gmail.com>"
license="LGPL-2.0-or-later"
homepage="https://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}"
pkg_install() {
vmove usr/share/doc
}
}