void-packages/srcpkgs/cvm/template

37 lines
885 B
Bash
Raw Normal View History

2015-04-10 05:05:40 +00:00
# Template file for 'cvm'
pkgname=cvm
version=0.97
revision=1
build_style=gnu-makefile
makedepends="bglibs-devel"
nocross=yes
hostmakedepends="libtool"
short_desc="Credential Validation Modules"
maintainer="bougyman <bougyman@voidlinux.eu>"
license="GPL-3"
homepage="http://untroubled.org/cvm/"
2015-04-10 05:51:32 +00:00
distfiles="http://untroubled.org/cvm/cvm-${version}.tar.gz"
2015-04-10 05:05:40 +00:00
checksum=82e7751d63cc2ae91457e28b5326885beb1d082d4f0695f4fdaac5ffa70a0c47
pre_build() {
echo '/usr/bin' > conf-bin
echo '/usr/include' > conf-include
echo '/usr/lib' > conf-lib
sed -i -e 's|/usr/local/include|/usr/include|' conf-cc
sed -i -e 's|/usr/local/lib|/usr/lib|' conf-ld
}
do_install() {
make install install_prefix=${DESTDIR}
}
cvm-devel_package() {
depends="cvm>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}