void-packages/srcpkgs/proplib/template

32 lines
727 B
Bash

# Template file for 'proplib'
pkgname=proplib
version=0.6.4
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool git"
makedepends="zlib-devel"
short_desc="Portable Property container object library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Simplified BSD"
homepage="https://github.com/xtraeme/portableproplib"
do_fetch() {
git clone -b ${version} git://github.com/xtraeme/portableproplib ${pkgname}-${version}
}
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
}
}