diff options
Diffstat (limited to 'libraries/libzen/libzen.SlackBuild')
-rw-r--r-- | libraries/libzen/libzen.SlackBuild | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/libraries/libzen/libzen.SlackBuild b/libraries/libzen/libzen.SlackBuild index e7610494e5..ecdf468e8d 100644 --- a/libraries/libzen/libzen.SlackBuild +++ b/libraries/libzen/libzen.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libzen -# Copyright 2010-2011 Binh Nguyen <binhnguyen@fastmail.fm> +# Copyright 2010-2012 Binh Nguyen <binhnguyen@fastmail.fm> # 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=libzen -VERSION=${VERSION:-0.4.27} +VERSION=${VERSION:-0.4.28} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -94,14 +94,8 @@ cd - find $PKG | xargs 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/lib${LIBDIRSUFFIX}/pkgconfig -cp -a Project/GNU/Library/libzen.pc $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig -sed -i -e 's/Version: /Version: '$VERSION'/g' $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/libzen.pc - -mkdir -p $PKG/usr/include -cp -a Source/ZenLib $PKG/usr/include -find $PKG/usr/include -type f -a ! -name *.h -delete -find $PKG/usr/include -type f -exec chmod 644 {} \; +# Correct version number in .pc file +sed -i "s/^Version: .*$/Version: $VERSION/" $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/libzen.pc # Create Documentation using doxygen ( cd Source/Doc && doxygen Doxyfile ) |