void-packages/srcpkgs/dotconf/template

28 lines
720 B
Bash

# Template file for 'dotconf'
pkgname=dotconf
version=1.3
revision=3
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="A C library for parsing configuration files"
maintainer="ojab <ojab@ojab.ru>"
license="LGPL-2.1-only"
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
}
}