diff options
Diffstat (limited to 'libraries/libgexiv2/libgexiv2.SlackBuild')
-rw-r--r-- | libraries/libgexiv2/libgexiv2.SlackBuild | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/libraries/libgexiv2/libgexiv2.SlackBuild b/libraries/libgexiv2/libgexiv2.SlackBuild index 0e4511fd4d029..be7abf73dac03 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 |