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>
This commit is contained in:
Matteo Bernardini 2015-09-01 19:51:02 +02:00 committed by Willy Sudiarto Raharjo
parent eb874e8f15
commit 38c85885d5
2 changed files with 11 additions and 17 deletions

View file

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

View file

@ -1,10 +1,10 @@
PRGNAM="libgexiv2"
VERSION="0.7.0"
VERSION="0.10.3"
HOMEPAGE="https://wiki.gnome.org/gexiv2"
DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gexiv2/0.7/gexiv2-0.7.0.tar.xz"
MD5SUM="de3619e5d2b621c19fdcf77b17d25d25"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gexiv2/0.10/gexiv2-0.10.3.tar.xz"
MD5SUM="f255100a009027d4eaa0f075bb79c655"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="vala"
MAINTAINER="Soydaner Ulker"
EMAIL="soydaner@kahverengi.com"