#!/bin/sh CWD=`pwd` TMP=/tmp PKG=$TMP/package-dvd+rw-tools PKGVER=5.20_4.10.8 VERSION=5.20.4.10.8 ARCH=alpha BUILD=1 mkdir -p $PKG ( cd $TMP rm -rf dvd+rw-tools-$VERSION tar xzf $CWD/dvd+rw-tools-$VERSION.tar.gz cd dvd+rw-tools-$VERSION chown -R root.root . make mkdir -p $PKG/usr/bin cat dvd+rw-booktype > $PKG/usr/bin/dvd+rw-booktype cat dvd+rw-format > $PKG/usr/bin/dvd+rw-format cat dvd+rw-mediainfo > $PKG/usr/bin/dvd+rw-mediainfo cat growisofs > $PKG/usr/bin/growisofs strip $PKG/usr/bin/* chmod 755 $PKG/usr/bin/* chown -R root.bin $PKG/usr/bin mkdir -p $PKG/usr/man/man1 cat growisofs.1 | gzip -9c > $PKG/usr/man/man1/growisofs.1.gz mkdir -p $PKG/usr/doc/dvd+rw-tools-$VERSION cp -a index.html $PKG/usr/doc/dvd+rw-tools-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG makepkg -l y -c n $TMP/dvd+rw-tools-$PKGVER-$ARCH-$BUILD.tgz ) 2>&1 | tee $TMP/dvd.build.log