#Maintainer: Christopher Rey P. Baluyut pkgname=cln pkgver=1.3.1 pkgrel=1 zenver=64 arch=i486 source=("http://www.ginac.de/CLN/$pkgname-$pkgver.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/shingoku/$pkgname/source docs=("ChangeLog" "FILES" "NEWS" "README" "INSTALL*" "TODO") url="http://www.ginac.de/CLN/" doinst() { if [ ! -r /usr/lib/libgmp.so.3 ]; then ln -s /usr/lib/libgmp.so /usr/lib/libgmp.so.3 fi ldconfig } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "CLN (Class Library for Numbers)" "CLN is a library for computations with all kinds of numbers. It has a" "rich set of number classes: Integers (with unlimited precision)," "rational numbers, floating-point numbers, short float, single float," "double float, long float (with unlimited precision), complex numbers," "modular integers (integers modulo a fixed integer), univariate" "polynomials. CLN is memory efficient. CLN is speed efficient." ) build() { if [ ! -r /usr/lib/libgmp.so.3 ]; then ln -s /usr/lib/libgmp.so /usr/lib/libgmp.so.3 fi cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --infodir=/usr/info \ --program-prefix= \ --program-suffix= \ --build=$arch-slackware-linux || exit 1 make || exit 1 make install DESTDIR=$startdir/pkg || exit 1 mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver }