DOCS="AUTHORS COPYING README src/LICENSE" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.3 PROGNAME="Enlightenment Database Access Library" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ edb: edb-$VERSION\n\ edb:\n\ edb: Edb is a simple, clean high-level db access/storage library.\n\ edb:\n\ edb:\n\ edb:\n\ edb:\n\ edb:\n\ edb:\n\ edb:\n\ edb:" # maintainer ARCH=i586 BUILD=2rob MAINTAINER="Robert Stan " SOURCE=http://sourceforge.net/project/showfiles.php?group_id=2 LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/l/ # package name PKGNAME="edb-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvzf $CWD/edb-$VERSION.tar.gz ; cd edb-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/usr/X11R6 \ --enable-cxx \ --enable-compat185 || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/edb-$VERSION cp -a $DOCS /usr/doc/edb-$VERSION } attributes() { echo "No special attributes..." } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo "No subpacks..." }