diff options
Diffstat (limited to 'libraries/freealut/freealut.SlackBuild')
-rw-r--r-- | libraries/freealut/freealut.SlackBuild | 22 |
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 |