summaryrefslogtreecommitdiff
path: root/libraries/libgexiv2/libgexiv2.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-09-01 19:51:02 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit38c85885d57d943a36678446c0931c6557bcdf57 (patch)
tree0fce55286ffcde823cf5ef6019cbfbe9067fea5c /libraries/libgexiv2/libgexiv2.SlackBuild
parenteb874e8f157229547a3866c875ad20a8c768e6ec (diff)
downloadslackbuilds-38c85885d57d943a36678446c0931c6557bcdf57.tar.gz
libraries/libgexiv2: Updated for version 0.10.3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libgexiv2/libgexiv2.SlackBuild')
-rw-r--r--libraries/libgexiv2/libgexiv2.SlackBuild20
1 files changed, 7 insertions, 13 deletions
diff --git a/libraries/libgexiv2/libgexiv2.SlackBuild b/libraries/libgexiv2/libgexiv2.SlackBuild
index 0e4511fd4d..be7abf73da 100644
--- a/libraries/libgexiv2/libgexiv2.SlackBuild
+++ b/libraries/libgexiv2/libgexiv2.SlackBuild
@@ -24,8 +24,8 @@
PRGNAM=libgexiv2
SRCNAM=gexiv2
-VERSION=${VERSION:-0.7.0}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-0.10.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,28 +70,22 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i "/^libdir/s|/lib$|/lib${LIBDIRSUFFIX}|" gexiv2.m4
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --build=$ARCH-slackware-linux \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-introspection \
+ --build=$ARCH-slackware-linux
-
-make \
- DESTDIR=$PKG \
- LIB=lib${LIBDIRSUFFIX}
-make install \
- DESTDIR=$PKG \
- LIB=lib${LIBDIRSUFFIX}
+make
+make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 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/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALLING MAINTAINERS NEWS README THANKS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS README THANKS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install