DOCS="AUTHORS BUGS COPYING NEWS README THANKS TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y # pkginfo VERSION=0.15.2 PROGNAME="librep" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ librep: librep-$VERSION\n\ librep:\n\ librep: This is a lightweight Lisp environment for UNIX. It contains a Lisp\n\ librep: interpreter, byte-code compiler and virtual machine. Applications may\n\ librep: use the Lisp interpreter as an extension language, or it may be used\n\ librep: for standalone scripts.\n\ librep:\n\ librep:\n\ librep:\n\ librep:\n\ librep:" # maintainer ARCH=i586 BUILD=2rob MAINTAINER="Robert Stan " SOURCE=http://librep.sourceforge.net/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="librep-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/librep-$VERSION.tar.gz ; cd librep-$VERSION ./configure --prefix=/opt/gnome --sysconfdir=/etc/opt/gnome \ --with-readline --with-gnu-ld --with-extra-cflags="$PKGOPT" \ $ARCH-slackware-linux || exit 1 make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/librep-$VERSION cp -a $DOCS /usr/doc/librep-$VERSION } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo "We don't have subpacks..." } attributes() { echo "No special attributes..." }