mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
27 lines
968 B
Bash
27 lines
968 B
Bash
# $Id: PKGBUILD 42050 2009-06-09 23:46:36Z eric $
|
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
# Contributor: Ben <ben@benmazer.net>
|
|
|
|
pkgname=cln
|
|
pkgver=1.2.2
|
|
pkgrel=2
|
|
pkgdesc="Class library for numbers"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.ginac.de/CLN/"
|
|
license=('GPL')
|
|
options=('!libtool')
|
|
depends=('gmp' 'bash' 'texinfo')
|
|
install=cln.install
|
|
source=(ftp://ftpthep.physik.uni-mainz.de/pub/gnu/${pkgname}-${pkgver}.tar.bz2 cln-gcc44.patch)
|
|
md5sums=('6b479281fec86314b4c7a9357bd83ef8' 'aa678ade85c1e364c879b2e0b40ba80d')
|
|
sha1sums=('2d2a5d3e383a3043c5bf68299a466685ef4ec8ec' '6abb412a387ba8d27a6a80f963a55677e431daf8')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -p1 < ../cln-gcc44.patch || return 1
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" htmldir=/usr/share/doc/cln/html dvidir=/usr/share/doc/cln/dvi install || return 1
|
|
rm "${pkgdir}/usr/share/info/dir"
|
|
gzip "${pkgdir}/usr/share/info/cln.info"
|
|
}
|