# Template file for 'cvm' pkgname=cvm version=0.97 revision=1 build_style=gnu-makefile makedepends="bglibs-devel" nocross=yes hostmakedepends="libtool" depends="bglibs" short_desc="Credential Validation Modules" maintainer="bougyman " license="GPL-3" homepage="http://untroubled.org/cvm/" distfiles="http://untroubled.org/cvm/cvm-0.97.tar.gz" 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" } }