diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-04-19 08:00:14 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-18 20:16:07 -0500 |
commit | 152b3b9f7ac51a0331911037daa20b00eab824a9 (patch) | |
tree | 0b52d5bcf91275d2d68faffde1d7d2ae01e4be18 /system | |
parent | be5c551a3a63b5797774e2b2dcf9189680ea521b (diff) |
system/yelp-tools: Updated for version 40.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/yelp-tools/yelp-tools.SlackBuild | 34 | ||||
-rw-r--r-- | system/yelp-tools/yelp-tools.info | 8 |
2 files changed, 22 insertions, 20 deletions
diff --git a/system/yelp-tools/yelp-tools.SlackBuild b/system/yelp-tools/yelp-tools.SlackBuild index 8acb7227365b..180b3a5be15c 100644 --- a/system/yelp-tools/yelp-tools.SlackBuild +++ b/system/yelp-tools/yelp-tools.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for yelp-tools -# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=yelp-tools -VERSION=${VERSION:-3.18.0} +VERSION=${VERSION:-40.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,25 +69,27 @@ 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 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc + ninja + DESTDIR=$PKG ninja install +cd .. 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING* ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING* NEWS README MAINTAINERS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/yelp-tools/yelp-tools.info b/system/yelp-tools/yelp-tools.info index 25caf333d351..e96a12c077b4 100644 --- a/system/yelp-tools/yelp-tools.info +++ b/system/yelp-tools/yelp-tools.info @@ -1,8 +1,8 @@ PRGNAM="yelp-tools" -VERSION="3.18.0" -HOMEPAGE="http://projects.gnome.org/yelp/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/yelp-tools/3.18/yelp-tools-3.18.0.tar.xz" -MD5SUM="ceca436ff2ab3900dde718c0f0286f3f" +VERSION="40.0" +HOMEPAGE="https://projects.gnome.org/yelp/" +DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/yelp-tools/40/yelp-tools-40.0.tar.xz" +MD5SUM="fb55d5c79a11be9dea1fdd4d49409a06" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="yelp-xsl" |