cln: update to 1.3.6

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
Nathan Owens 2019-12-10 17:40:14 -06:00 committed by Juan RP
parent e2f112ecf5
commit 5909258729
1 changed files with 16 additions and 6 deletions

View File

@ -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 <orphan@voidlinux.org>"
makedepends="gmp-devel"
license="GPL-2"
homepage="https://www.ginac.de/CLN/"
short_desc="Class library (C++) for numbers"
maintainer="Orphaned <orphan@voidlinux.org>"
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}"