IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=5.19-1.4.9.7 PKGVER=5.19_1.4.9.7 DIRVER=5.19.4.9.7 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=http://fy.chalmers.se/~appro/linux/DVD+RW/tools/ PKGNAME=dvd+rw-tools-$PKGVER-s390-$BUILD TAG=OPT compile() { tar -zxvf $CWD/dvd+rw-tools-$VERSION.tar.gz cd dvd+rw-tools-$DIRVER/ chown -R root.root . make } install() { mkdir -p /package-dvd+rw-tools/usr/bin cp -a dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo growisofs \ /package-dvd+rw-tools/usr/bin/ mkdir -p /package-dvd+rw-tools/usr/man/man1 cat growisofs.1 | gzip -9c > /package-dvd+rw-tools/usr/man/man1/growisofs.1.gz 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 } 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 }