New package: cln-1.3.3

This commit is contained in:
Dominik Honnef 2014-07-30 15:29:00 +02:00
parent a981e8ad9a
commit feeb0756bf
4 changed files with 44 additions and 0 deletions

View File

@ -1685,3 +1685,4 @@ libfakekey.so.0 libfakekey-0.1_1
libsmartcols.so.1 libsmartcols-2.25_1
libspiro.so.0 libspiro-0.2_1
libopenjp2.so.7 libopenjpeg2-2.1.0_1
libcln.so.6 cln-1.3.3_1

1
srcpkgs/cln-devel Symbolic link
View File

@ -0,0 +1 @@
cln

View File

@ -0,0 +1,15 @@
--- src/base/cl_macros.h.orig 2014-07-30 15:19:17.474034947 +0200
+++ src/base/cl_macros.h 2014-07-30 15:19:28.210034058 +0200
@@ -66,11 +66,7 @@
// Ignore a value (instead of assigning it to a variable).
// unused ...
- #if defined(__GNUC__) || defined(__KCC) // avoid a gcc warning "statement with no effect"
- #define unused (void)
- #else
- #define unused
- #endif
+ #define unused
// Denotes a point where control flow can never arrive.
// NOTREACHED

27
srcpkgs/cln/template Normal file
View File

@ -0,0 +1,27 @@
# 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
}
}