aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-02 11:38:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-03 09:09:20 +0700
commitd0039ea39cb3dd5905a088cd2a18b35f6400d6e9 (patch)
treed9641c8f66e4857d750270584284d2f2d2030401 /misc
parentac34e52ddfe70be1215f58b1715f3abe8da3bd98 (diff)
misc/libime: Use tgz.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/libime/libime.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc/libime/libime.SlackBuild b/misc/libime/libime.SlackBuild
index 385bbdea57f61..7b0e02df0f13b 100644
--- a/misc/libime/libime.SlackBuild
+++ b/misc/libime/libime.SlackBuild
@@ -26,7 +26,7 @@ PRGNAM=libime
VERSION=${VERSION:-1.0.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-txz}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,8 +45,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
-
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -83,7 +81,7 @@ cd build
-DCMAKE_C_FLAGS="${SLKCFLAGS}" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} ..
- make $NUMJOBS || make
+ make
make install/strip DESTDIR=$PKG
cd ..