IGNOREPATH=/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.6.4 PROGNAME="GNU Guile" DESC="\ guile \n\ \n\ This is Guile, Project GNU's extension language library. Guile is an \n\ interpreter for Scheme, packaged as a library that you can link into \n\ your applications to give them their own scripting language. Guile \n\ will eventually support other languages as well, giving users of \n\ Guile-based applications a choice of languages." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/gnu/guile/ PKGNAME=guile-$VERSION-s390-$BUILD TAG=ADD compile() { tar -yxvf $CWD/guile-$VERSION.tar.bz2 cd guile-$VERSION/ cat $CWD/gc_os_dep.c.diff | patch -p1 chown -R root.root . find . -perm 777 -exec chmod 755 {} \; find . -perm 444 -exec chmod 644 {} \; find . -perm 664 -exec chmod 644 {} \; CFLAGS="-O2 -fPIC" \ ./configure --prefix=/usr \ --with-threads \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make } install() { make install DESTDIR=/package-guile mkdir -p /package-guile/usr/doc/guile-$VERSION cp -a ANON-CVS AUTHORS COPYING ChangeLog GUILE-VERSION HACKING INSTALL NEWS \ README SNAPSHOTS THANKS /package-guile/usr/doc/guile-$VERSION ( cd /package-guile/usr/info rm -f *.gz gzip -9 * ) } attributes() { chown -R root.bin $PKG/package-guile/usr/bin/ } special() { cd $PKG mv package-guile/* ./ rmdir package-guile cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's/package-guile\///' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }