void-packages/srcpkgs/proplib/template
maxice8 d78e9ef95a proplib: fix xlint warnings.
Closes: #8104 [via git-merge-pr]
2017-10-15 15:35:42 -07:00

34 lines
851 B
Bash

# Template file for 'proplib'
pkgname=proplib
version=0.6.4
revision=3
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.eu>"
license="Simplified BSD"
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
}
}