DOCS="AUTHORS COPYING NEWS README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.2.3 PROGNAME="gnome-media" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gnomedia: gnome-media-$VERSION\n\ gnomedia:\n\ gnomedia: GNOME media programs.\n\ gnomedia:\n\ gnomedia:\n\ gnomedia:\n\ gnomedia:\n\ gnomedia:\n\ gnomedia:\n\ gnomedia:\n\ gnomedia:" # maintainer ARCH=i586 BUILD=3rob MAINTAINER="Robert Stan " SOURCE=http://www.gnome.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="gnomedia-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH -I/opt/gnome/include" compile() { tar xvyf $CWD/gnome-media-$VERSION.tar.bz2 ; cd gnome-media-$VERSION for patch in `ls $CWD/*.patch.bz2` ; do bzip2 -cd $patch | patch -p1 ; done CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome --disable-alsa \ --sysconfdir=/etc/opt/gnome --localstatedir=/var/lib || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/gnome-media-$VERSION cp -a $DOCS /usr/doc/gnome-media-$VERSION } attributes() { echo } special() { mkdir -p $PKG/var/lib/scrollkeeper cat $CWD/doinst.sh >> $CTL/doinst.sh # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }