libraries/libkexiv2: Updated for version 0.1.6
This commit is contained in:
parent
b937a14f44
commit
873ff99f1d
|
@ -1,6 +1,6 @@
|
||||||
Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata.
|
Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata.
|
||||||
This library is used by kipi-plugins, digiKam, and other kipi host programs.
|
This library is used by kipi-plugins, digiKam, and other kipi host programs.
|
||||||
The library documentation is available on kexiv2.h header file.
|
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.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for Libkexiv2
|
# Slackware build script for Libkexiv2
|
||||||
|
|
||||||
# Copyright 2007 MagicMan <MagicMan07@bluebottle.com>
|
# Copyright 2007-2008 Frank Caraballo <fecaraballo{at}gmail{dot}com>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# 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
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# 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
|
PRGNAM=libkexiv2
|
||||||
VERSION=0.1.1
|
VERSION=0.1.6
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/SBo}
|
TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
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
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
@ -49,25 +45,38 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP || exit 1
|
cd $TMP || exit 1
|
||||||
rm -rf $PRGNAM-$VERSION
|
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
|
cd $PRGNAM-$VERSION || exit 1
|
||||||
|
|
||||||
chown -R root:root .
|
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" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
|
--prefix=$KDEPREF \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
|
--program-prefix="" \
|
||||||
|
--program-suffix="" \
|
||||||
|
--disable-debug \
|
||||||
|
--enable-shared=yes \
|
||||||
|
--enable-static=no \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
make || exit 1
|
make || exit 1
|
||||||
make install-strip DESTDIR=$PKG || exit 1
|
make install-strip DESTDIR=$PKG || exit 1
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
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
|
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
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="libkexiv2"
|
PRGNAM="libkexiv2"
|
||||||
VERSION="0.1.1"
|
VERSION="0.1.6"
|
||||||
HOMEPAGE="http://extragear.kde.org/apps/kipi/"
|
HOMEPAGE="http://extragear.kde.org/apps/kipi/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/kipi/libkexiv2-0.1.1.tar.bz2"
|
DOWNLOAD="http://downloads.sourceforge.net/kipi/libkexiv2-0.1.6.tar.bz2"
|
||||||
MD5SUM="cd577926992dc1ea5359f9cb53c6a10d"
|
MD5SUM="8a256ac6a3895720a88b29eaf932917c"
|
||||||
MAINTAINER="MagicMan"
|
MAINTAINER="Frank Caraballo"
|
||||||
EMAIL="MagicMan07@bluebottle.com"
|
EMAIL="fecaraballo{at}gmail{dot}com"
|
||||||
APPROVED="rworkman"
|
APPROVED="David Somero"
|
||||||
|
|
|
@ -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 (Exiv2 Library Wrapper)
|
||||||
libkexiv2:
|
libkexiv2:
|
||||||
libkexiv2: Libkexiv2 is a wrapper around Exiv2 library to manipulate
|
libkexiv2: Libkexiv2 is a wrapper around Exiv2 library to manipulate
|
||||||
|
|
Loading…
Reference in New Issue