DOCS="AUTHORS COPYING COPYING.LIB HACKING MAINTAINERS NEWS README THANKS TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.2 PROGNAME="Eazel Extensions Library" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ eel: eel-$VERSION\n\ eel:\n\ eel: Eazel Extension Library - required by Nautilus.\n\ eel:\n\ eel:\n\ eel:\n\ eel:\n\ eel:\n\ eel:\n\ eel:\n\ eel:" # maintainer ARCH=i586 BUILD=2rob MAINTAINER="Robert Stan " SOURCE=http://ftp.gnome.org/pub/GNOME/stable/sources/eel/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="eel-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/eel-$VERSION.tar.bz2 ; cd eel-$VERSION for patch in `ls $CWD/*.patch.bz2` ; do bzip2 -cd $patch | patch -p1 ; done automake ; autoconf CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/eel-$VERSION cp -a $DOCS /usr/doc/eel-$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..." }