cln: update to 1.3.6
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
parent
e2f112ecf5
commit
5909258729
1 changed files with 16 additions and 6 deletions
|
@ -1,20 +1,30 @@
|
||||||
# Template file for 'cln'
|
# Template file for 'cln'
|
||||||
pkgname=cln
|
pkgname=cln
|
||||||
version=1.3.4
|
version=1.3.6
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
||||||
makedepends="gmp-devel"
|
makedepends="gmp-devel"
|
||||||
license="GPL-2"
|
|
||||||
homepage="https://www.ginac.de/CLN/"
|
|
||||||
short_desc="Class library (C++) for numbers"
|
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"
|
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=2d99d7c433fb60db1e28299298a98354339bdc120d31bb9a862cafc5210ab748
|
checksum=f492530e8879bda529009b6033e1923c8f4aae843149fc28c667c20b094d984a
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
arm*|aarch64*) CPPFLAGS="-DNO_ASM";;
|
arm*|aarch64*) CPPFLAGS="-DNO_ASM";;
|
||||||
esac
|
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() {
|
cln-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Reference in a new issue