DOCS="AUTHORS COPYING NEWS README" IGNOREPATH=/boot:/dev:/home:/mnt:/proc:/root:/tmp:/var STRIPLIB=y STRIPBIN=y SETATTR=y VERSION=1.2.10 PROGNAME="glib" # |-----handy-ruler------------------------------------------------------| SLACKDESC="\ glib: GLib-$VERSION\n\ glib:\n\ glib: This is GLib version 1.2.10. GLib is a library which includes support\n\ glib: routines for C such as lists, trees, hashes, memory allocation, and\n\ glib: many other things.\n\ glib:\n\ glib: GLib is required by nearly everything in the GTK series.\n\ glib:\n\ glib:\n\ glib:\n\ glib:" # maintainer ARCH=i586 BUILD=4rob MAINTAINER="Robert Stan " SOURCE=http:/www.gtk.org/ LOCATION=ftp://ftp.linuxpackages.net/pub/Slackware-8/robert/gnome1/ # compiler flags PKGOPT="-O2 -fomit-frame-pointer -march=$ARCH -Wall -D_REENTRANT" # package name PKGNAME="glib-${VERSION}-${ARCH}-${BUILD}" compile() { tar xvzf $CWD/glib-$VERSION.tar.gz ; cd glib-$VERSION CFLAGS=$PKGOPT ./configure --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome || exit 1 CFLAGS=$PKGOPT make -j2 || exit 1 } install() { CFLAGS=$PKGOPT make install mkdir -p /usr/doc/glib-$VERSION cp -a $DOCS /usr/doc/glib-$VERSION } attributes() { chmod 755 $PKG/opt/gnome/lib/libgmod*.so.* } special() { # Package description echo -e $SLACKDESC > $CTL/slack-desc echo -e $SLACKDESC > $CWD/$PKGNAME.txt } subpacks() { echo }