summaryrefslogtreecommitdiff
path: root/libraries/libzen/libzen.SlackBuild
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2012-08-22 15:42:53 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-08-22 08:42:42 -0500
commit26de7100a2190908642efc22580ce2d62d33f663 (patch)
tree9c7d32693b006f0c566b9676c2566a37d229d1bb /libraries/libzen/libzen.SlackBuild
parent6cbb32247ba83539d39b311201a8f8e57beedd50 (diff)
downloadslackbuilds-26de7100a2190908642efc22580ce2d62d33f663.tar.gz
libraries/libzen: Updated for version 0.4.28
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libzen/libzen.SlackBuild')
-rw-r--r--libraries/libzen/libzen.SlackBuild14
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 )