IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=5.12.4.7.4 PROGNAME="dvd+rw-tools $VERSION" DESC="\ dvd+rw-tools \n\ \n\ A collection of tools to master DVD+RW/+R/-R/-RW media. For further \n\ information see http://fy.chalmers.se/~appro/linux/DVD+RW/. \n\ \n\ The DVD+RW tools were written by Andy Polyakov." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/dvd+rw-tools PKGNAME=dvd+rw-tools-$VERSION-s390-$BUILD TAG=OPT compile() { tar -zxvf $CWD/dvd+rw-tools-$VERSION.tar.gz cd dvd+rw-tools-$VERSION/ chown -R root.root . make } install() { make install prefix=/package-dvd+rw-tools/usr mkdir -p /package-dvd+rw-tools/usr/doc/dvd+rw-tools-$VERSION cp -a index.html /package-dvd+rw-tools/usr/doc/dvd+rw-tools-$VERSION ( cd /package-dvd+rw-tools/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG//package-dvd+rw-tools/usr/bin } special() { cd $PKG mv package-dvd+rw-tools/* ./ rmdir package-dvd+rw-tools cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-dvd+rw-tools/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }