libraries/libzen: Updated for version 0.4.28

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Binh Nguyen 2012-08-22 15:42:53 +07:00 committed by Robby Workman
parent 6cbb32247b
commit 26de7100a2
2 changed files with 7 additions and 13 deletions

View file

@ -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 )

View file

@ -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=""