mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/cln to 1.3.3-1
This commit is contained in:
parent
59ee39b2b2
commit
a35036a49b
1 changed files with 10 additions and 6 deletions
|
@ -7,7 +7,7 @@
|
||||||
# - Removed building and installing pdf docs, it always fails.
|
# - Removed building and installing pdf docs, it always fails.
|
||||||
|
|
||||||
pkgname=cln
|
pkgname=cln
|
||||||
pkgver=1.3.2
|
pkgver=1.3.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Class library for numbers"
|
pkgdesc="Class library for numbers"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
@ -17,12 +17,11 @@ depends=('gmp')
|
||||||
makedepends=('texlive-core')
|
makedepends=('texlive-core')
|
||||||
options=('!libtool')
|
options=('!libtool')
|
||||||
install=cln.install
|
install=cln.install
|
||||||
source=(ftp://ftpthep.physik.uni-mainz.de/pub/gnu/${pkgname}-${pkgver}.tar.bz2)
|
source=(http://www.ginac.de/CLN/${pkgname}-${pkgver}.tar.bz2)
|
||||||
md5sums=('d897cce94d9c34d106575ed4ec865d71')
|
sha1sums=('11c56780eb83ed54f2ad1ecef7f0dc0f609c426d')
|
||||||
sha1sums=('c30dca80e75f45e2107f233075e6d0339ea884b0')
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd ${pkgname}-${pkgver}
|
||||||
if [ "$CARCH" = "armv7h" ]; then
|
if [ "$CARCH" = "armv7h" ]; then
|
||||||
export CFLAGS="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -pipe -DNO_ASM"
|
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"
|
export CXXFLAGS="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -pipe -DNO_ASM"
|
||||||
|
@ -37,7 +36,12 @@ build() {
|
||||||
make all html
|
make all html
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd ${pkgname}-${pkgver}
|
||||||
make DESTDIR="${pkgdir}" install install-html
|
make DESTDIR="${pkgdir}" install install-html
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue