void-packages/srcpkgs/dotconf/template

27 lines
708 B
Text

# Template build file for 'dotconf'.
pkgname=dotconf
version=1.3
revision=1
build_style=gnu-configure
wrksrc=williamh-${pkgname}-4cd7b3a
hostmakedepends="automake libtool"
short_desc="A C library for parsing configuration files"
maintainer="ojab <ojab@ojab.ru>"
license="LGPL2.1"
homepage="https://github.com/williamh/dotconf"
checksum=d7c5eab8e9785ea0186676f0ccc4261e196b7559943030f869169eb748d34178
distfiles="https://github.com/williamh/${pkgname}/tarball/v${version}"
pre_configure() {
autoreconf -i
}
dotconf-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}