DOCS="AUTHORS COPY* NEWS README TODO" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.0.5 PROGNAME="The GNOME virtual file-system libraries" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ gnomevfs: gnome-vfs-$VERSION\n\ gnomevfs:\n\ gnomevfs: GNOME VFS is the GNOME virtual file system. It is the foundation\n\ gnomevfs: of the Nautilus file manager. It provides a modular architecture\n\ gnomevfs: and ships with several modules that implement support for file\n\ gnomevfs: systems, http, ftp and others. It provides a URI-based API, a\n\ gnomevfs: backend supporting asynchronous file operations, a MIME type\n\ gnomevfs: manipulation library and other features.\n\ gnomevfs:\n\ gnomevfs:\n\ gnomevfs:" # 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="gnomevfs-${VERSION}-${ARCH}-${BUILD}" # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH" compile() { tar xvyf $CWD/gnome-vfs-$VERSION.tar.bz2 ; cd gnome-vfs-$VERSION for patch in `ls $CWD/*.patch.bz2` ; do bzip2 -cd $patch | patch -p1 ; done autoheader ; aclocal ; autoconf export PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig:/usr/lib/pkgconfig CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome --localstatedir=/var/lib \ --with-openssl-includes=/usr/include --with-openssl-libs=/usr/lib || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { make install mkdir -p /usr/doc/gnome-vfs-$VERSION cp -a $DOCS /usr/doc/gnome-vfs-$VERSION } attributes() { echo } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }