void-packages/srcpkgs/dotconf/template
2014-06-04 13:28:38 +02:00

28 lines
756 B
Bash

# Template build file for 'dotconf'.
pkgname=dotconf
version=1.3
revision=2
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"
distfiles="https://github.com/williamh/${pkgname}/tarball/v${version}>${pkgname}-${version}.tar.gz"
checksum=d7c5eab8e9785ea0186676f0ccc4261e196b7559943030f869169eb748d34178
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
vmove usr/lib/*.so
}
}