void-packages/srcpkgs/ucommon/template

38 lines
1000 B
Bash

# Template file for 'ucommon'
pkgname=ucommon
version=7.0.0
revision=1
build_style=gnu-configure
makedepends="gnutls-devel"
short_desc="A light-weight C++ library to facilitate using C++ design patterns"
maintainer="David <kalichakra@zoho.com>"
license="GPL-3"
homepage="http://www.gnu.org/software/commoncpp/"
distfiles="${GNU_SITE}/commoncpp/$pkgname-${version}.tar.gz"
checksum="6ac9f76c2af010f97e916e4bae1cece341dc64ca28e3881ff4ddc3bc334060d7"
ucommon-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/ucommon-config
vmove usr/bin/commoncpp-config
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man1
vmove usr/share/ucommon/cmake
}
}
ucommon-tools_package() {
short_desc+=" - tools"
pkg_install() {
for f in sockaddr pdetach scrub-files urlout mdsum zerofill \
keywait args car; do
vmove usr/bin/${f}
done
}
}