diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2018-07-20 12:19:50 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-07-21 06:53:32 +0700 |
commit | d6a79b06ec6b9ab36f4f4157f2ac03e2f73b72a0 (patch) | |
tree | 3e8cd6bc3e449eb72033a8b3c938987d29cee737 /development/pkgconf | |
parent | e1320379fca7eef426ad52f3b2ae621018898913 (diff) |
development/pkgconf: Updated for version 1.5.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/pkgconf')
-rw-r--r-- | development/pkgconf/README | 3 | ||||
-rw-r--r-- | development/pkgconf/pkgconf.SlackBuild | 13 | ||||
-rw-r--r-- | development/pkgconf/pkgconf.info | 6 |
3 files changed, 16 insertions, 6 deletions
diff --git a/development/pkgconf/README b/development/pkgconf/README index e198bbdb2524d..4ccedb7a132fe 100644 --- a/development/pkgconf/README +++ b/development/pkgconf/README @@ -15,3 +15,6 @@ variables to be correct. If you are using slackpkg add this line to your blacklist file found at '/etc/slackpkg/blacklist'. pkg-config + +To build debugging symbols use: + DEBUG=1 ./pkgconf.SlackBuild diff --git a/development/pkgconf/pkgconf.SlackBuild b/development/pkgconf/pkgconf.SlackBuild index 6658ef633fb93..39bcc478c9a9d 100644 --- a/development/pkgconf/pkgconf.SlackBuild +++ b/development/pkgconf/pkgconf.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pkgconf -VERSION=${VERSION:-1.5.1} +VERSION=${VERSION:-1.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,11 @@ 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 {} \; +[ "${DEBUG:=0}" != 0 ] && \ + SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0 -g/')" + +autoreconf -fi + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -85,8 +90,10 @@ make install DESTDIR=$PKG ( cd $PKG/usr/bin; ln -sf $PRGNAM pkg-config ) -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 +if [ "$DEBUG" = 0 ]; then + 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 +fi find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done diff --git a/development/pkgconf/pkgconf.info b/development/pkgconf/pkgconf.info index 307aaa26a3f7e..480ba6235b39b 100644 --- a/development/pkgconf/pkgconf.info +++ b/development/pkgconf/pkgconf.info @@ -1,8 +1,8 @@ PRGNAM="pkgconf" -VERSION="1.5.1" +VERSION="1.5.2" HOMEPAGE="https://git.dereferenced.org/pkgconf/pkgconf" -DOWNLOAD="https://distfiles.dereferenced.org/pkgconf/pkgconf-1.5.1.tar.xz" -MD5SUM="78391c77a1940677b719b94e1f79d3ce" +DOWNLOAD="https://distfiles.dereferenced.org/pkgconf/pkgconf-1.5.2.tar.xz" +MD5SUM="daf26512578d2ee8e9c17ce590877461" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="%README%" |