mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# $Id: PKGBUILD 108622 2011-02-02 01:45:45Z eric $
|
|
# Maintainer: Eric Bélanger <eric@archlinux.org>
|
|
|
|
# PlugApps: Kevin Mihelich <kevin@plugapps.com>
|
|
# - Redefined our CFLAGS and CXXFLAGS to remove -O2, and define -DNO_ASM.
|
|
# Optimization kills the builds, NO_ASM prevents it using asm that doesn't work for us.
|
|
# - Removed building and installing pdf docs, it always fails.
|
|
|
|
plugrel=1
|
|
|
|
pkgname=cln
|
|
pkgver=1.3.1
|
|
pkgrel=1
|
|
pkgdesc="Class library for numbers"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.ginac.de/CLN/"
|
|
license=('GPL')
|
|
depends=('gmp')
|
|
makedepends=('texlive-core')
|
|
options=('!libtool')
|
|
install=cln.install
|
|
source=(ftp://ftpthep.physik.uni-mainz.de/pub/gnu/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('ede584cb1cafa66d56f42a3cf420469d')
|
|
sha1sums=('351506da9bd7b0b3cefd3a5424823797fb589acc')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
export CFLAGS="-march=armv5te -pipe -DNO_ASM"
|
|
export CXXFLAGS="-march=armv5te -pipe -DNO_ASM"
|
|
./configure --prefix=/usr
|
|
make all html
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install install-html
|
|
}
|