summaryrefslogtreecommitdiff
path: root/libraries/libmediainfo/libmediainfo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libmediainfo/libmediainfo.SlackBuild')
-rw-r--r--libraries/libmediainfo/libmediainfo.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/libmediainfo/libmediainfo.SlackBuild b/libraries/libmediainfo/libmediainfo.SlackBuild
index 0495c862a2..d997ba37dd 100644
--- a/libraries/libmediainfo/libmediainfo.SlackBuild
+++ b/libraries/libmediainfo/libmediainfo.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libmediainfo
-# 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=libmediainfo
-VERSION=${VERSION:-0.7.58}
+VERSION=${VERSION:-0.7.59}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -104,7 +104,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
cp -a Project/GNU/Library/libmediainfo.pc $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
-sed -i -e 's/Version: /Version: '$VERSION'/g' $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/libmediainfo.pc
+sed -i "s/^Version: .*$/Version: $VERSION/" $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/libmediainfo.pc
for i in MediaInfo MediaInfoDLL; do
mkdir -p $PKG/usr/include/$i