VERSION=1.07 BUILD=1 ARCH=i386 PKGNAME=rio-${VERSION}m-$ARCH-$BUILD IGNOREPATH=/tmp:/proc:/dev:/root:/var:/a STRIPLIB=y STRIPBIN=y PROGNAME=rio DESC="\ rio $VERSION-modified\n\ \n\ Command line utility for working a Diamond Rio portable MP3 player.\n\ You can format it, send and receive files, and run diagnostics. This\n\ version adds a patch to let you specify the track number when you\n\ want to delete a file or download a file from the Rio to the computer.\n\ \n\ (Patch added by Logan Johnson )" compile() { tar xvzf $CWD/rio-$VERSION-modified.tar.gz cd rio-$VERSION-modified zcat $CWD/rio-$VERSION-modified.diff.gz | patch -p1 --verbose make } install() { cp rio /usr/bin mkdir -p /usr/doc/rio-$VERSION cp README CREDITS gpl.txt /usr/doc/rio-$VERSION } attributes() { chmod 644 $PKG/usr/doc/rio-$VERSION/* }