void-packages/srcpkgs/proplib/template

35 lines
850 B
Bash

# Template file for 'proplib'
pkgname=proplib
version=0.6.4
revision=5
wrksrc="portableproplib-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="zlib-devel"
short_desc="Portable Property container object library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/xtraeme/portableproplib"
distfiles="https://github.com/xtraeme/portableproplib/archive/${version}.tar.gz"
checksum=b2edac8977fa2e569e8664976d9c27f272bcf13f1aa921e853f129b7fd6b5d86
post_install() {
vlicense COPYING
}
pre_configure() {
./bootstrap
}
proplib-devel_package() {
depends="zlib-devel ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}