DOCS="AUTHORS COPYING ChangeLog NEWS README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var:/storage STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=0.5.0 PROGNAME="Medusa" DESC="Medusa, the GNOME search/indexing package." # maintainer BUILD=1 MAINTAINER="Robert Stan " SOURCE=http://nautilus.eazel.com LOCATION=ftp://ftp.linuxmafia.org/pub/Slackware-7/robert/medusa-0.5.0 # package name PKGNAME=medusa compile() { tar xvzf $CWD/$PKGNAME-$VERSION.tar.gz cd $PKGNAME-$VERSION CFLAGS=-O2 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var CFLAGS=-O2 make } install() { make install mkdir -p /usr/doc/$PKGNAME-$VERSION cp -a $DOCS /usr/doc/$PKGNAME-$VERSION } attributes() { echo "No special attributes..." } special() { mkdir -p $PKG/etc/{medusa,profile.d,vfs/modules} cp -a /etc/profile.d/medusa* $PKG/etc/profile.d mkdir -p $CTL/conf/etc/{medusa,vfs/modules} cp -a /etc/medusa/file-index-stoplist $CTL/conf/etc/medusa cp -a /etc/medusa/medusa.conf $CTL/conf/etc/medusa cp -a /etc/vfs/modules/search-methods.conf $CTL/conf/etc/vfs/modules mkdir -p $PKG/var/medusa echo "This file intentionally left blank" > $PKG/var/medusa/.dummy } subpacks() { echo "No subpacks..." }