mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
development/latrace: Fix download URL.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b91faf82d8
commit
7865e9a7c2
2 changed files with 7 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue