diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-30 15:21:00 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-02 18:18:46 +0700 |
commit | 7865e9a7c233010ffc38ead0ccc30c1b723109e6 (patch) | |
tree | b2d46877d7c083d47d3d60bb7f6ea4987246b569 /development | |
parent | b91faf82d8e37877dec0f8e20e28f8ae8e0e5aca (diff) |
development/latrace: Fix download URL.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/latrace/latrace.SlackBuild | 15 | ||||
-rw-r--r-- | development/latrace/latrace.info | 2 |
2 files changed, 7 insertions, 10 deletions
diff --git a/development/latrace/latrace.SlackBuild b/development/latrace/latrace.SlackBuild index 46c127881aaf5..d820cfaa01dd7 100644 --- a/development/latrace/latrace.SlackBuild +++ b/development/latrace/latrace.SlackBuild @@ -19,15 +19,12 @@ 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 fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -37,8 +34,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" @@ -61,8 +58,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - -type d -exec chmod 0755 {} \; -o \ - -type f -exec chmod u+rw,go+r-w,a-s {} \; + -type d -exec chmod 0755 {} \+ -o \ + -type f -exec chmod u+rw,go+r-w,a-s {} \+ # Thanks archlinux! patch -p0 < $CWD/fix-scanner-config-for-flex-2.6.x.patch @@ -80,7 +77,7 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux -make +make -j1 # 20220330 bkw: parallel builds are broken make install ROOTDIR=$PKG # Let's not clobber the main config file, but the headers in diff --git a/development/latrace/latrace.info b/development/latrace/latrace.info index 6ed617a672340..1f861bd924892 100644 --- a/development/latrace/latrace.info +++ b/development/latrace/latrace.info @@ -1,7 +1,7 @@ PRGNAM="latrace" VERSION="0.5.11" HOMEPAGE="http://people.redhat.com/jolsa/latrace/" -DOWNLOAD="http://people.redhat.com/jolsa/latrace/dl/latrace-0.5.11.tar.bz2" +DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/latrace/latrace-0.5.11.tar.bz2/138457c7b9eaf3246eddb7856702cddf/latrace-0.5.11.tar.bz2" MD5SUM="138457c7b9eaf3246eddb7856702cddf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |