summaryrefslogtreecommitdiff
path: root/libraries/libzen
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
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')
-rw-r--r--libraries/libzen/libzen.SlackBuild14
-rw-r--r--libraries/libzen/libzen.info6
2 files changed, 7 insertions, 13 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 )
diff --git a/libraries/libzen/libzen.info b/libraries/libzen/libzen.info
index f64d70c608..d624ae9024 100644
--- a/libraries/libzen/libzen.info
+++ b/libraries/libzen/libzen.info
@@ -1,8 +1,8 @@
PRGNAM="libzen"
-VERSION="0.4.27"
+VERSION="0.4.28"
HOMEPAGE="http://mediainfo.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/zenlib/libzen_0.4.27.tar.bz2"
-MD5SUM="e4f4aefc27b77bcdf79807a65bdda3ac"
+DOWNLOAD="http://downloads.sourceforge.net/zenlib/libzen_0.4.28.tar.bz2"
+MD5SUM="f09e519b71e61a7226ffefe55d00eadf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""