void-packages/srcpkgs/cln/template

28 lines
740 B
Plaintext
Raw Normal View History

2014-07-30 15:29:00 +02:00
# Template file for 'cln'
pkgname=cln
version=1.3.3
revision=1
build_style=gnu-configure
maintainer="Dominik Honnef <dominik@honnef.co>"
makedepends="gmp-devel"
license="GPL"
homepage="http://www.ginac.de/CLN/"
short_desc="A library for efficient computations with all kinds of numbers in arbitrary precision"
distfiles="http://www.ginac.de/CLN/${pkgname}-${version}.tar.bz2"
checksum=57fc2ee3ecbb30d4037ff32a9a331804ea7dad8b345e70d42d9991ca659b2612
if [[ "$XBPS_TARGET_MACHINE" == arm* ]]; then
CPPFLAGS+=" -DNO_ASM"
fi
cln-devel_package() {
short_desc+=" - development files"
depends="cln>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/libcln.so
vmove usr/lib/libcln.a
vmove usr/lib/pkgconfig
}
}