DOCS="AUTHORS COPY* HACKING NEWS README THANKS TRADEMARK_NOTICE" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.6 PROGNAME="Nautilus" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ nautilus: nautilus-$VERSION\n\ nautilus:\n\ nautilus: Nautilus is a highly-polished content manager for GNOME. Nautilus\n\ nautilus: integrates access to files, applications, media, Internet-based\n\ nautilus: resources and the Web, delivering a dynamic and rich user experience\n\ nautilus:\n\ nautilus:\n\ nautilus:\n\ nautilus:\n\ nautilus:\n\ nautilus:" # maintainer ARCH=i586 BUILD=1rob MAINTAINER="Robert Stan " SOURCE=http://nautilus.eazel.com/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # package name PKGNAME="nautilus-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/nautilus-$VERSION.tar.bz2 ; cd nautilus-$VERSION for patch in `ls $CWD/*.patch.bz2` ; do bzip2 -cd $patch | patch -p1 ; done automake ; autoconf CFLAGS=$PKGOPT CXXFLAGS=$PKGOPT ./configure \ --sysconfdir=/etc/opt/gnome \ --prefix=/opt/gnome \ --mandir=/opt/gnome/man \ --infodir=/opt/gnome/info \ --localstatedir=/var/lib \ --disable-more-warnings \ --with-freetype2-prefix=/usr/X11R6 \ --with-mozilla-lib-place=/opt/gnome/lib \ --with-mozilla-include-place=/opt/gnome/include/mozilla || exit 1 # --disable-mozilla-component CFLAGS=$PKGOPT CXXFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/nautilus-$VERSION cp -a $DOCS /usr/doc/nautilus-$VERSION ( cd /opt/gnome/share/pixmaps/nautilus ; tar xzf $CWD/nautilus-gorilla.tar.gz ) } attributes() { echo "No special attributes..." } 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 "No subpacks..." }