summaryrefslogtreecommitdiff
path: root/libraries/freealut/freealut.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 19:44:58 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:58 +0200
commite0c0ea0e65faf3b820f67e7c93cb6a39a4760a01 (patch)
tree8605289e49b52f93ba4a2153a0bf49406461ba2f /libraries/freealut/freealut.SlackBuild
parentcbe13f3a369ca5f2ca318578ea02d40f3ac8fede (diff)
downloadslackbuilds-e0c0ea0e65faf3b820f67e7c93cb6a39a4760a01.tar.gz
libraries/freealut: Updated for version 1.1.0
Diffstat (limited to 'libraries/freealut/freealut.SlackBuild')
-rw-r--r--libraries/freealut/freealut.SlackBuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/libraries/freealut/freealut.SlackBuild b/libraries/freealut/freealut.SlackBuild
index 0b251febb2..551b99f844 100644
--- a/libraries/freealut/freealut.SlackBuild
+++ b/libraries/freealut/freealut.SlackBuild
@@ -4,15 +4,15 @@
# Written by Erik Hanson erik@slackbuilds.org
# Modified by the SlackBuilds.org project
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-freealut
-OUTPUT=${OUTPUT:-/tmp}
-
+PRGNAM=freealut
VERSION=1.1.0
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i386" ]; then
SLKCFLAGS="-O2 -march=i386 -mtune=i686"
@@ -24,7 +24,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf freealut-$VERSION
-tar -zxvf $CWD/freealut-$VERSION.tar.gz || exit 1
+tar -zxvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd freealut-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -46,13 +46,13 @@ make install DESTDIR=$PKG || exit 1
# No man/info pages in freealut
-mkdir -p $PKG/usr/doc/freealut-$VERSION
-cat $CWD/freealut.SlackBuild > $PKG/usr/doc/freealut-$VERSION/freealut.SlackBuild
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/freealut.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README doc/ examples/ \
- $PKG/usr/doc/freealut-$VERSION
+ $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/freealut-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz