diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-12 17:45:56 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:45:56 +0200 |
commit | 029ae4f08f253e8d3bca1b6c72fce65387edfed3 (patch) | |
tree | c61a5241b8b2f0c855cc152f5a8924abc4831563 /system/roxterm/roxterm.SlackBuild | |
parent | 773f02964db2efcd4e82beb489809094e0524bc4 (diff) | |
download | slackbuilds-029ae4f08f253e8d3bca1b6c72fce65387edfed3.tar.gz |
system/roxterm: Updated for version 1.14.2
Diffstat (limited to 'system/roxterm/roxterm.SlackBuild')
-rw-r--r-- | system/roxterm/roxterm.SlackBuild | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/system/roxterm/roxterm.SlackBuild b/system/roxterm/roxterm.SlackBuild index 5211eeb658..ef898c6f6a 100644 --- a/system/roxterm/roxterm.SlackBuild +++ b/system/roxterm/roxterm.SlackBuild @@ -5,7 +5,7 @@ # Modified by the slackbuilds.org project PRGNAM=roxterm -VERSION=1.12.2 +VERSION=1.14.2 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,15 +17,22 @@ OUTPUT=${OUTPUT:-/tmp} 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" fi +set -eu + rm -rf $PKG -mkdir -p $TMP $PKG +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -34,15 +41,16 @@ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ - --localstatedir=/var/lib \ - || exit 1 + --localstatedir=/var \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --build=$ARCH-slackware-linux -make || exit 1 -make install-strip DESTDIR=$PKG || exit 1 +make +make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/ -rm -rf $PKG/usr/share/doc +rm -rf $PKG/usr/share/doc $PKG/usr/share/man cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh |