DOCS="AUTHORS COPY* ChangeLog INSTALL NEWS README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var:/storage STRIPLIB=y STRIPBIN=y SETATTR=y ARCH=i386 BUILD=1 # pkginfo VERSION=3.1.1 PROGNAME="GNU MP" DESC="\ GNU MP is a library for arbitrary precision arithmetic, operating on signed \n\ integers, rational numbers, and floating point numbers. It has a rich set of\n\ functions, and the functions have a regular interface." # maintainer MAINTAINER="Robert Stan " SOURCE=http://www.swox.com/gmp/ # package name PKGNAME=gmp compile() { tar xvzf $CWD/$PKGNAME-$VERSION.tar.gz cd $PKGNAME-$VERSION CFLAGS="-O2 -march=i386" ./configure --prefix=/usr --with-gnu-ld CFLAGS="-O2 -march=i386" make -j2 } install() { make install mkdir -p /usr/doc/$PKGNAME-$VERSION cp -a $DOCS /usr/doc/$PKGNAME-$VERSION } special() { echo "Nothing special :-)" } subpacks() { echo "We don't have subpacks..." }