audio/gnomad2: Added to 12.2 repository

This commit is contained in:
Ron F. DeMoss 2010-05-12 23:27:52 +02:00 committed by Robby Workman
parent 724c847862
commit 3de4516122
5 changed files with 96 additions and 0 deletions

2
audio/gnomad2/README Normal file
View File

@ -0,0 +1,2 @@
Gnomad2 is a GTK+ music manager for the
Creative Labs NOMAD and Zen MP3 players.

4
audio/gnomad2/doinst.sh Normal file
View File

@ -0,0 +1,4 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications
fi

View File

@ -0,0 +1,63 @@
#!/bin/sh
# Slackware build script for Gnomad2
# Build script by Ron F. DeMoss, 2009-01-23
PRGNAM=gnomad2
VERSION=${VERSION:-2.9.4}
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"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
$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
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View File

@ -0,0 +1,8 @@
PRGNAM="gnomad2"
VERSION="2.9.4"
HOMEPAGE="http://gnomad2.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/gnomad2/gnomad2-2.9.4.tar.gz"
MD5SUM="e47382c8cbb87b0e6630b847c464c3b2"
MAINTAINER="Ron F. DeMoss"
EMAIL="rfdemoss{at}gmail{dot}com"
APPROVED="rworkman"

19
audio/gnomad2/slack-desc Normal file
View File

@ -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------------------------------------------------------|
gnomad2: Gnomad2 (Music Manager for Creative Labs MP3 Players)
gnomad2:
gnomad2: Music and interface manager for the Creative Labs Nomad and Zen
gnomad2: family of MP3 Players. It supports Creative Labs working devices,
gnomad2: MTP devices, and other MTP products.
gnomad2:
gnomad2: Homepage: http://gnomad2.sourceforge.net/
gnomad2:
gnomad2:
gnomad2:
gnomad2: