27 lines
750 B
Bash
27 lines
750 B
Bash
# Template file for 'confuse'
|
|
pkgname=confuse
|
|
version=3.2.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-shared --enable-static"
|
|
short_desc="Small configuration file parser library for C"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://github.com/martinh/libconfuse/"
|
|
license="ISC"
|
|
distfiles="https://github.com/martinh/libconfuse/releases/download/v${version}/confuse-${version}.tar.xz"
|
|
checksum=23c63272baf2ef4e2cbbafad2cf57de7eb81f006ec347c00b954819824add25e
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
confuse-devel_package() {
|
|
depends="confuse>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|