diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/roxterm/doinst.sh | 4 | ||||
-rw-r--r-- | system/roxterm/roxterm.SlackBuild | 24 | ||||
-rw-r--r-- | system/roxterm/roxterm.info | 8 |
3 files changed, 22 insertions, 14 deletions
diff --git a/system/roxterm/doinst.sh b/system/roxterm/doinst.sh index 6af9811528..ff5dd6d547 100644 --- a/system/roxterm/doinst.sh +++ b/system/roxterm/doinst.sh @@ -1,4 +1,4 @@ -if [ -x usr/bin/update-desktop-database ]; then - usr/bin/update-desktop-database -q usr/share/applications +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications fi 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 diff --git a/system/roxterm/roxterm.info b/system/roxterm/roxterm.info index 50fdb84585..27d563623d 100644 --- a/system/roxterm/roxterm.info +++ b/system/roxterm/roxterm.info @@ -1,8 +1,8 @@ PRGNAM="roxterm" -VERSION="1.12.2" +VERSION="1.14.2" HOMEPAGE="http://roxterm.sourceforge.net/" -DOWNLOAD="http://dl.sourceforge.net/roxterm/roxterm-1.12.2.tar.gz" -MD5SUM="bb7e30d19d42b24bc49ad403fcde9058" +DOWNLOAD="http://downloads.sourceforge.net/roxterm/roxterm-1.14.2.tar.gz" +MD5SUM="22b2696ecd7cd977a0c00e791a4451b8" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" -APPROVED="Michiel" +APPROVED="dsomero" |