#Maintainer: Christian Dersch pkgname=muparser pkgver=1.30 pkgrel=1cd arch=x86_64 source=(http://downloads.sourceforge.net/project/muparser/muparser/Version%201.30/muparser_v130.tar.gz) url=http://muparser.sourceforge.net/ docs=('Changes.txt' 'Credits.txt' 'Install.txt' 'License.txt') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "muparser (math parser library)" "muparser is a fast math parser library written in C++. It allows " "parsing of many mathematical expressions and works by transforming a " "mathematical expression into bytecode and precalculating constant " "parts of the expression. " "" "http://muparser.sourceforge.net/" ) build() { cd $startdir/src/$pkgname ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ || return 1 mv Makefile Makefile.orig sed 's/$(libdir)\/pkgconfig/$DESTDIR\/$(libdir)\/pkgconfig/g' Makefile.orig > Makefile make || return 0 make install DESTDIR=$startdir/pkg }