void-packages/srcpkgs/proplib/template
2019-04-22 11:56:02 +02:00

33 lines
849 B
Bash

# Template file for 'proplib'
pkgname=proplib
version=0.6.8
revision=1
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=5454211b97a1d64936e8947c8413e986ed7c73c3397a3a651ee1fa80d4740692
pre_configure() {
./bootstrap
}
post_install() {
vlicense COPYING
}
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
}
}