summaryrefslogtreecommitdiffstats
path: root/system/opam/opam.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2020-10-26 22:06:13 +0100
committer Matteo Bernardini2020-10-26 22:06:13 +0100
commite640e49a5bd5cb8a3b272af2d38aa2c5d9993949 (patch)
treeefdec9a92e47f20efe8b45860584319c9fac9a8c /system/opam/opam.SlackBuild
parent41fa52299e271fdd4909b298cd0348f5f01986ea (diff)
downloadslackbuilds-e640e49a5bd5cb8a3b272af2d38aa2c5d9993949.tar.gz
20201026.1 global branch merge.current-20201026.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/opam/opam.SlackBuild')
-rw-r--r--system/opam/opam.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/opam/opam.SlackBuild b/system/opam/opam.SlackBuild
index e7d8270b0d..04464c1032 100644
--- a/system/opam/opam.SlackBuild
+++ b/system/opam/opam.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=opam
-VERSION=${VERSION:-2.0.1}
+VERSION=${VERSION:-2.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,16 +73,16 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-make lib-ext
-make
-make install DESTDIR=$PKG
+make -j1 lib-ext
+make -j1
+make -j1 DESTDIR=$PKG install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true