From 5909258729269448892a3231a76dd08961e89f0a Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Tue, 10 Dec 2019 17:40:14 -0600 Subject: [PATCH] cln: update to 1.3.6 Signed-off-by: Nathan Owens --- srcpkgs/cln/template | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/srcpkgs/cln/template b/srcpkgs/cln/template index 94ad5e77a80..be35057c503 100644 --- a/srcpkgs/cln/template +++ b/srcpkgs/cln/template @@ -1,20 +1,30 @@ # Template file for 'cln' pkgname=cln -version=1.3.4 -revision=2 +version=1.3.6 +revision=1 build_style=gnu-configure -maintainer="Orphaned " makedepends="gmp-devel" -license="GPL-2" -homepage="https://www.ginac.de/CLN/" short_desc="Class library (C++) for numbers" +maintainer="Orphaned " +license="GPL-2.0-only" +homepage="https://www.ginac.de/CLN/" distfiles="${homepage}/${pkgname}-${version}.tar.bz2" -checksum=2d99d7c433fb60db1e28299298a98354339bdc120d31bb9a862cafc5210ab748 +checksum=f492530e8879bda529009b6033e1923c8f4aae843149fc28c667c20b094d984a case "$XBPS_TARGET_MACHINE" in arm*|aarch64*) CPPFLAGS="-DNO_ASM";; esac +if [ "$CROSS_BUILD" ]; then + pre_build() { + # During cross build, script builds intparam.h + # with a line starting with: + # #error char size does not fit in intptr + # even though the sizes are correct. + vsed -e '/#error/d' -i include/cln/intparam.h + } +fi + cln-devel_package() { short_desc+=" - development files" depends="${makedepends} ${sourcepkg}>=${version}_${revision}"