summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Cash <dacashman@gmail.com>2010-07-11 10:13:55 -0400
committerErik Hanson <erik@slackbuilds.org>2010-07-11 10:28:11 -0500
commit30ec78dc1d21cee5e2cc9a906eac5c6afa22e5e7 (patch)
treee5a5b366e13981b21561c435b9011c51345756c2
parentdc7103e6dc68f99662241c1428bbd73e65b5a9a6 (diff)
downloadslackbuilds-30ec78dc1d21cee5e2cc9a906eac5c6afa22e5e7.tar.gz
audio/volumeicon: Added (systray volume control)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--audio/volumeicon/README1
-rw-r--r--audio/volumeicon/slack-desc19
-rw-r--r--audio/volumeicon/volumeicon.SlackBuild79
-rw-r--r--audio/volumeicon/volumeicon.info10
4 files changed, 109 insertions, 0 deletions
diff --git a/audio/volumeicon/README b/audio/volumeicon/README
new file mode 100644
index 0000000000..34ef08830e
--- /dev/null
+++ b/audio/volumeicon/README
@@ -0,0 +1 @@
+volumeicon aims to be a lightweight volume control that sits in your systray. \ No newline at end of file
diff --git a/audio/volumeicon/slack-desc b/audio/volumeicon/slack-desc
new file mode 100644
index 0000000000..8481e1f3fb
--- /dev/null
+++ b/audio/volumeicon/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------------------------------------------------------|
+volumeicon: volumeicon (volume control)
+volumeicon:
+volumeicon: volumeicon aims to be a lightweight volume control that
+volumeicon: sits in your systray.
+volumeicon:
+volumeicon: Homepage: http://softwarebakery.com/maato/volumeicon.html
+volumeicon:
+volumeicon:
+volumeicon:
+volumeicon:
+volumeicon:
diff --git a/audio/volumeicon/volumeicon.SlackBuild b/audio/volumeicon/volumeicon.SlackBuild
new file mode 100644
index 0000000000..f8b84ce2c2
--- /dev/null
+++ b/audio/volumeicon/volumeicon.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/sh
+
+# Slackware build script for volumeicon
+
+# Written by Daniel Cash
+
+PRGNAM=volumeicon
+VERSION=${VERSION:-0.2.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+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 .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING \
+ $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.${PKGTYPE:-tgz}
diff --git a/audio/volumeicon/volumeicon.info b/audio/volumeicon/volumeicon.info
new file mode 100644
index 0000000000..aed09e9770
--- /dev/null
+++ b/audio/volumeicon/volumeicon.info
@@ -0,0 +1,10 @@
+PRGNAM="volumeicon"
+VERSION="0.2.1"
+HOMEPAGE="http://softwarebakery.com/maato/volumeicon.html"
+DOWNLOAD="http://softwarebakery.com/maato/files/volumeicon/volumeicon-0.2.1.tar.gz"
+MD5SUM="45f9f42f324e1d368798f2295031bcaa"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Daniel Cash"
+EMAIL="dacashman@gmail.com"
+APPROVED="dsomero"