diff options
author | JK Wood <joshuakwood@gmail.com> | 2022-02-12 16:20:22 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-14 08:06:52 +0700 |
commit | 24926616156b24308c11cf0bbe195e6d0d01c276 (patch) | |
tree | b3487ccdc57151872b48964d6fc58accc3f388e3 /ham/xdemorse/xdemorse.SlackBuild | |
parent | 5c6e9106da3443c66f5247c5333e1379e6a441eb (diff) |
ham/xdemorse: Updated for 3.6.5. i486->i586. Fix README.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham/xdemorse/xdemorse.SlackBuild')
-rw-r--r-- | ham/xdemorse/xdemorse.SlackBuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/ham/xdemorse/xdemorse.SlackBuild b/ham/xdemorse/xdemorse.SlackBuild index df92b66a11fd..01c902a56a0c 100644 --- a/ham/xdemorse/xdemorse.SlackBuild +++ b/ham/xdemorse/xdemorse.SlackBuild @@ -23,14 +23,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xdemorse -VERSION=${VERSION:-3.0.1} +VERSION=${VERSION:-3.6.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -48,8 +48,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -68,7 +68,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar -xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar -xvf $CWD/${PRGNAM}_$VERSION.orig.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -77,9 +77,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Fixup desktop file a tad -patch -p1 < $CWD/xdemorse.desktop.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |