void-packages/srcpkgs/cln/template
2017-06-07 15:42:53 +02:00

27 lines
698 B
Bash

# Template file for 'cln'
pkgname=cln
version=1.3.4
revision=1
build_style=gnu-configure
maintainer="Orphaned <orphan@voidlinux.eu>"
makedepends="gmp-devel"
license="GPL-2"
homepage="https://www.ginac.de/CLN/"
short_desc="Class library (C++) for numbers"
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
checksum=2d99d7c433fb60db1e28299298a98354339bdc120d31bb9a862cafc5210ab748
case "$XBPS_TARGET_MACHINE" in
arm*|aarch64*) CPPFLAGS="-DNO_ASM";;
esac
cln-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/libcln.so
vmove usr/lib/libcln.a
vmove usr/lib/pkgconfig
}
}