summaryrefslogtreecommitdiff
path: root/misc/beep
diff options
context:
space:
mode:
authorgnubien <resident@scrapshells.com>2010-05-13 00:34:03 +0200
committerAlan Hicks <alan@lizella.net>2010-05-13 00:34:03 +0200
commit6c13379dda8b330fef295d56123e68fd48607bd6 (patch)
treeb73c5a040059088468a881c6fa4111d410bd1e3f /misc/beep
parent5c62b07327d228d05364d40e8db9bec19d5f8319 (diff)
downloadslackbuilds-6c13379dda8b330fef295d56123e68fd48607bd6.tar.gz
misc/beep: Updated for version 1.2.2
Diffstat (limited to 'misc/beep')
-rw-r--r--misc/beep/beep.SlackBuild14
-rw-r--r--misc/beep/beep.info2
2 files changed, 13 insertions, 3 deletions
diff --git a/misc/beep/beep.SlackBuild b/misc/beep/beep.SlackBuild
index 4f07a1e0e9..60dbdcc11f 100644
--- a/misc/beep/beep.SlackBuild
+++ b/misc/beep/beep.SlackBuild
@@ -10,12 +10,20 @@
PRGNAM=beep
VERSION=1.2.2
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
+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
# See the manpage for more information on why, but you will need to install
# beep with the suid bit set in order to have full functionality in all
@@ -59,4 +67,4 @@ 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
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/misc/beep/beep.info b/misc/beep/beep.info
index a4e9378c70..e62c965243 100644
--- a/misc/beep/beep.info
+++ b/misc/beep/beep.info
@@ -2,7 +2,9 @@ PRGNAM="beep"
VERSION="1.2.2"
HOMEPAGE="http://www.johnath.com/beep/"
DOWNLOAD="http://www.johnath.com/beep/beep-1.2.2.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="d541419fd7e5642952d7b48cbb40c712"
+MD5SUM_x86_64=""
MAINTAINER="gnubien"
EMAIL="resident@scrapshells.com"
APPROVED="Alan_Hicks,robw810"