aboutsummaryrefslogtreecommitdiff
path: root/development/kconfig-frontends/kconfig-frontends.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-16 19:38:17 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-17 12:59:51 +0700
commita29351ea79e20b27aba0fe3695aa50252864b27c (patch)
treee503d8a03e64d9edf487d7949894c38e53577b84 /development/kconfig-frontends/kconfig-frontends.SlackBuild
parent660d58978f804432569fdd8600ed862bbb0232c4 (diff)
development/kconfig-frontends: Updated for version 4.11.0.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/kconfig-frontends/kconfig-frontends.SlackBuild')
-rw-r--r--development/kconfig-frontends/kconfig-frontends.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/development/kconfig-frontends/kconfig-frontends.SlackBuild b/development/kconfig-frontends/kconfig-frontends.SlackBuild
index de7564d5c715..609268073ccb 100644
--- a/development/kconfig-frontends/kconfig-frontends.SlackBuild
+++ b/development/kconfig-frontends/kconfig-frontends.SlackBuild
@@ -25,14 +25,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kconfig-frontends
-VERSION=${VERSION:-3.12.0.0}
+VERSION=${VERSION:-4.11.0.1}
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
@@ -50,8 +50,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"
@@ -70,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -79,6 +79,8 @@ 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 {} \;
+patch -p1 < $CWD/gperf3.1_kconfig_id_lookup.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \