summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-11 19:45:16 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 19:45:16 +0200
commit873ff99f1d677bb1cbbc0e90429f9b2506c386d5 (patch)
tree9e8c8fbf2a19d5748ddcb1afe17df2bd5b5e6856
parentb937a14f4476c6e0c9ded4ca473d8a1c76bf4c7c (diff)
downloadslackbuilds-873ff99f1d677bb1cbbc0e90429f9b2506c386d5.tar.gz
libraries/libkexiv2: Updated for version 0.1.6
-rw-r--r--libraries/libkexiv2/README8
-rw-r--r--libraries/libkexiv2/libkexiv2.SlackBuild31
-rw-r--r--libraries/libkexiv2/libkexiv2.info12
-rw-r--r--libraries/libkexiv2/slack-desc8
4 files changed, 38 insertions, 21 deletions
diff --git a/libraries/libkexiv2/README b/libraries/libkexiv2/README
index 4f49cdbc2d..30ad699d54 100644
--- a/libraries/libkexiv2/README
+++ b/libraries/libkexiv2/README
@@ -1,6 +1,6 @@
-Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata.
-This library is used by kipi-plugins, digiKam, and other kipi host programs.
+Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata.
+This library is used by kipi-plugins, digiKam, and other kipi host programs.
The library documentation is available on kexiv2.h header file.
-exiv2 (also available at SlackBuilds.org) is required to build this package.
-
+exiv2 (also available at http://www.slackbuilds.org/) is required to build
+this package.
diff --git a/libraries/libkexiv2/libkexiv2.SlackBuild b/libraries/libkexiv2/libkexiv2.SlackBuild
index 37d59baef6..5b5b2e23f0 100644
--- a/libraries/libkexiv2/libkexiv2.SlackBuild
+++ b/libraries/libkexiv2/libkexiv2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Libkexiv2
-# Copyright 2007 MagicMan <MagicMan07@bluebottle.com>
+# Copyright 2007-2008 Frank Caraballo <fecaraballo{at}gmail{dot}com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,22 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-if [ "$(id -u)" != "0" ]; then
- echo "This script must be run as root!"
- exit 1
-fi
-
PRGNAM=libkexiv2
-VERSION=0.1.1
+VERSION=0.1.6
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-PDOCS="AUTHORS ChangeLog COPYING INSTALL NEWS PACKAGING README RELEASE.rev"
+DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS PACKAGING README RELEASE.rev"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -49,25 +45,38 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION.tar.* || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+KDEPREF=$(kde-config --prefix) || exit 1
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
+ --prefix=$KDEPREF \
--sysconfdir=/etc \
--localstatedir=/var \
+ --program-prefix="" \
+ --program-suffix="" \
+ --disable-debug \
+ --enable-shared=yes \
+ --enable-static=no \
|| exit 1
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $PDOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/libkexiv2/libkexiv2.info b/libraries/libkexiv2/libkexiv2.info
index 5615f91224..2076a76213 100644
--- a/libraries/libkexiv2/libkexiv2.info
+++ b/libraries/libkexiv2/libkexiv2.info
@@ -1,8 +1,8 @@
PRGNAM="libkexiv2"
-VERSION="0.1.1"
+VERSION="0.1.6"
HOMEPAGE="http://extragear.kde.org/apps/kipi/"
-DOWNLOAD="http://downloads.sourceforge.net/kipi/libkexiv2-0.1.1.tar.bz2"
-MD5SUM="cd577926992dc1ea5359f9cb53c6a10d"
-MAINTAINER="MagicMan"
-EMAIL="MagicMan07@bluebottle.com"
-APPROVED="rworkman"
+DOWNLOAD="http://downloads.sourceforge.net/kipi/libkexiv2-0.1.6.tar.bz2"
+MD5SUM="8a256ac6a3895720a88b29eaf932917c"
+MAINTAINER="Frank Caraballo"
+EMAIL="fecaraballo{at}gmail{dot}com"
+APPROVED="David Somero"
diff --git a/libraries/libkexiv2/slack-desc b/libraries/libkexiv2/slack-desc
index f0f1bbdb6d..511f2cbe3b 100644
--- a/libraries/libkexiv2/slack-desc
+++ b/libraries/libkexiv2/slack-desc
@@ -1,3 +1,11 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
libkexiv2: Libkexiv2 (Exiv2 Library Wrapper)
libkexiv2:
libkexiv2: Libkexiv2 is a wrapper around Exiv2 library to manipulate