void-packages/srcpkgs/cln/template

28 lines
740 B
Bash
Raw Normal View History

2014-07-30 13:29:00 +00:00
# Template file for 'cln'
pkgname=cln
2014-11-14 17:01:12 +00:00
version=1.3.4
2014-07-30 13:29:00 +00:00
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"
2014-11-14 17:01:12 +00:00
checksum=2d99d7c433fb60db1e28299298a98354339bdc120d31bb9a862cafc5210ab748
2014-07-30 13:29:00 +00:00
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
}
}