extra/cln to 1.3.2-1

This commit is contained in:
Kevin Mihelich 2011-07-08 21:17:37 -04:00
parent b344184b47
commit 6597c79bff
2 changed files with 12 additions and 7 deletions

View file

@ -1,4 +1,4 @@
# $Id: PKGBUILD 108622 2011-02-02 01:45:45Z eric $
# $Id: PKGBUILD 127750 2011-06-18 05:06:20Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
# PlugApps: Kevin Mihelich <kevin@plugapps.com>
@ -9,7 +9,7 @@
plugrel=1
pkgname=cln
pkgver=1.3.1
pkgver=1.3.2
pkgrel=1
pkgdesc="Class library for numbers"
arch=('i686' 'x86_64')
@ -20,13 +20,18 @@ 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')
md5sums=('d897cce94d9c34d106575ed4ec865d71')
sha1sums=('c30dca80e75f45e2107f233075e6d0339ea884b0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export CFLAGS="-march=armv5te -pipe -DNO_ASM"
export CXXFLAGS="-march=armv5te -pipe -DNO_ASM"
if [ "$CARCH" = "armv7h" ]; then
export CFLAGS="-march=armv7-a -pipe -DNO_ASM"
export CXXFLAGS="-march=armv7-a -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
}

View file

@ -1,4 +1,4 @@
infodir=/usr/share/info
infodir=usr/share/info
filelist=(cln.info.gz)
post_install() {