summaryrefslogtreecommitdiff
path: root/system/gpa/gpa.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/gpa/gpa.SlackBuild')
-rw-r--r--system/gpa/gpa.SlackBuild54
1 files changed, 0 insertions, 54 deletions
diff --git a/system/gpa/gpa.SlackBuild b/system/gpa/gpa.SlackBuild
deleted file mode 100644
index c515a710f2..0000000000
--- a/system/gpa/gpa.SlackBuild
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for GPA
-# Written by Erik Hanson erik@slackbuilds.org
-# Modified by the SlackBuilds.org project
-
-PRGNAM=gpa
-VERSION=0.7.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"
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
-cd $PRGNAM-$VERSION || exit 1
-chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- || exit 1
-
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
-
-sed -i 's|Icon=gpa.png|Icon=/usr/share/pixmaps/gpa.png|' \
- $PKG/usr/share/applications/gpa.desktop || exit 1
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README README-alpha THANKS TODO VERSION $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