IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=3.6.11 PROGNAME="reiserfsprogs $VERSION" DESC="\ reiserfsprogs \n\ \n\ These utilities are used for Reiserfs. Reiserfs is a file system \n\ based on balanced tree algorithms. Learn more at the home site: \n\ http://www.namesys.com \n\ \n\ Reiserfs is the work of Hans Reiser and many others. See the file \n\ /usr/doc/reiserfs*/README for full credits." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.namesys.com/pub/reiserfsprogs/ PKGNAME=reiserfsprogs-$VERSION-s390-$BUILD TAG=REC compile() { tar -zxvf $CWD/reiserfsprogs-$VERSION.tar.gz cd reiserfsprogs-$VERSION/ chown -R root.root . CFLAGS=-O2 ./configure --prefix=/usr \ --host=s390-slackware-linux \ --build=s390-slackware-linux \ --target=s390-slackware-linux make } install() { make install DESTDIR=/package-reiserfsprogs sbindir=/sbin mkdir -p /package-reiserfsprogs/usr/doc/reiserfsprogs-$VERSION cp AUTHORS COPYING INSTALL NEWS README \ /package-reiserfsprogs/usr/doc/reiserfsprogs-$VERSION ( cd /package-reiserfsprogs/usr/man/man8 rm -f *.gz gzip -9 *.8 ) } special() { cd $PKG mv package-reiserfsprogs/* ./ rmdir package-reiserfsprogs chown -R root.bin $PKG/sbin cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-reiserfsprogs/%%' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }