diff options
Diffstat (limited to 'audio/iripdb')
-rw-r--r-- | audio/iripdb/README | 5 | ||||
-rw-r--r-- | audio/iripdb/iripdb.SlackBuild | 48 | ||||
-rw-r--r-- | audio/iripdb/iripdb.info | 8 | ||||
-rw-r--r-- | audio/iripdb/slack-desc | 19 |
4 files changed, 80 insertions, 0 deletions
diff --git a/audio/iripdb/README b/audio/iripdb/README new file mode 100644 index 0000000000..0a5c6c1bf5 --- /dev/null +++ b/audio/iripdb/README @@ -0,0 +1,5 @@ +iRipDB allows generating the DB files necessary for the iRiver iHP-1xx +series of MP3/Ogg HD Player on Linux and Windows. That will allow you to +navigate your files through the artist/album/genre menus. It supports +adding MP3 and Ogg files at this point. It's released under the GNU +General Public License. diff --git a/audio/iripdb/iripdb.SlackBuild b/audio/iripdb/iripdb.SlackBuild new file mode 100644 index 0000000000..78745c3445 --- /dev/null +++ b/audio/iripdb/iripdb.SlackBuild @@ -0,0 +1,48 @@ +#!/bin/sh + +# Slackware build script for iRipDB + +# Written by Marcel de Reus <marceldereus@nedlinux.nl> + +PRGNAM=iripdb +VERSION=0.1.3b +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +fi + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM +unzip $CWD/iRipDB-$VERSION.zip +cd $PRGNAM +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +sh compile.sh 2>/dev/null +mkdir -p $PKG/usr/bin +cp -a iripdb $PKG/usr/bin +strip --strip-unneeded $PKG/usr/bin/iripdb + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING Changelog.txt README doc/iRivDB_structure \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/audio/iripdb/iripdb.info b/audio/iripdb/iripdb.info new file mode 100644 index 0000000000..87f303098b --- /dev/null +++ b/audio/iripdb/iripdb.info @@ -0,0 +1,8 @@ +PRGNAM="iripdb" +VERSION="0.1.3b" +HOMEPAGE="http://www.fataltourist.com/iripdb/" +DOWNLOAD="http://www.fataltourist.com/iripdb/iRipDB-0.1.3b.zip" +MD5SUM="e3e6701762dcf5927ae10082969fdace" +MAINTAINER="Marcel de Reus" +EMAIL="marceldereus@nedlinux.nl" +APPROVED="rworkman" diff --git a/audio/iripdb/slack-desc b/audio/iripdb/slack-desc new file mode 100644 index 0000000000..4e18d21f8a --- /dev/null +++ b/audio/iripdb/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +iripdb: iRipDB (iRiver DB tool) +iripdb: +iripdb: iRipDB allows generating the DB files necessary for the iRiver +iripdb: iHP-1xx series of MP3/Ogg HD Player on Linux that will allow +iripdb: you to navigate your files through the artist/album/genre menus. +iripdb: It supports adding MP3 and Ogg files at this point. +iripdb: It is released under the GNU General Public License. +iripdb: +iripdb: Homepage: http://www.fataltourist.com/iripdb/ +iripdb: +iripdb: |