extra/cln to 1.3.6-3

This commit is contained in:
Kevin Mihelich 2022-12-27 14:41:35 +00:00
parent 4907b9e9ea
commit 041a4c59f0

View file

@ -7,7 +7,7 @@
pkgname=cln
pkgver=1.3.6
pkgrel=2
pkgrel=3
pkgdesc="Class library for numbers"
arch=('x86_64')
url="https://www.ginac.de/CLN/"
@ -15,7 +15,7 @@ license=('GPL')
depends=('gmp')
makedepends=('texlive-core')
source=(https://www.ginac.de/CLN/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('144f15a57f4b25ada0f10ff28458de03578f6f16')
sha256sums=('f492530e8879bda529009b6033e1923c8f4aae843149fc28c667c20b094d984a')
build() {
cd ${pkgname}-${pkgver}
@ -25,12 +25,6 @@ build() {
elif [ "$CARCH" = "armv7h" ]; then
export CFLAGS="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -pipe -DNO_ASM"
export CXXFLAGS="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -pipe -DNO_ASM"
elif [ "$CARCH" = "armv6h" ]; then
export CFLAGS="-march=armv6 -mfloat-abi=hard -mfpu=vfp -pipe -DNO_ASM"
export CXXFLAGS="-march=armv6 -mfloat-abi=hard -mfpu=vfp -pipe -DNO_ASM"
else
export CFLAGS="-march=armv5te -pipe -DNO_ASM"
export CXXFLAGS="-march=armv5te -pipe -DNO_ASM"
fi
./configure --prefix=/usr
make all html