void-packages/srcpkgs/dotconf/template

29 lines
756 B
Text
Raw Normal View History

2013-04-20 15:05:11 +00:00
# Template build file for 'dotconf'.
pkgname=dotconf
version=1.3
2014-06-04 11:28:38 +00:00
revision=2
2013-04-20 15:05:11 +00:00
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"
2014-06-04 11:28:38 +00:00
distfiles="https://github.com/williamh/${pkgname}/tarball/v${version}>${pkgname}-${version}.tar.gz"
2013-04-20 15:05:11 +00:00
checksum=d7c5eab8e9785ea0186676f0ccc4261e196b7559943030f869169eb748d34178
pre_configure() {
autoreconf -i
}
dotconf-devel_package() {
short_desc+=" - development files"
2013-04-20 15:05:11 +00:00
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-06-04 11:28:38 +00:00
vmove usr/lib/*.a
vmove usr/lib/*.so
2013-04-20 15:05:11 +00:00
}
}