36 lines
842 B
Bash
36 lines
842 B
Bash
# Template file for 'cvm'
|
|
pkgname=cvm
|
|
version=0.97
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
makedepends="bglibs-devel"
|
|
hostmakedepends="libtool"
|
|
short_desc="Credential Validation Modules"
|
|
maintainer="bougyman <bougyman@voidlinux.org>"
|
|
license="GPL-3"
|
|
homepage="http://untroubled.org/cvm/"
|
|
distfiles="http://untroubled.org/cvm/cvm-${version}.tar.gz"
|
|
checksum=82e7751d63cc2ae91457e28b5326885beb1d082d4f0695f4fdaac5ffa70a0c47
|
|
|
|
pre_build() {
|
|
echo '/usr/bin' > conf-bin
|
|
echo '/usr/include' > conf-include
|
|
echo '/usr/lib' > conf-lib
|
|
echo "${CC} ${CFLAGS} -g" > conf-cc
|
|
echo "${CC} ${LDFLAGS}" > 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"
|
|
}
|
|
}
|