mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libkexiv2: Updated for version 0.1.9
This commit is contained in:
parent
e6aad01efc
commit
51ae95151d
4 changed files with 24 additions and 31 deletions
|
@ -1,6 +1,6 @@
|
||||||
Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures
|
Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures
|
||||||
metadata. This library is used by kipi-plugins, digiKam, and other
|
metadata. This library is used by kipi-plugins, digiKam and others
|
||||||
kipi host programs. The library documentation is available on kexiv2.h
|
kipi host programs. The library documentation is available on
|
||||||
header file.
|
kexiv2.h header file.
|
||||||
|
|
||||||
exiv2 (also available at SBo) is required to build Libkexiv2.
|
exiv2 (available at SBo) is required to build Libkexiv2.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for Libkexiv2
|
# Slackware build script for Libkexiv2
|
||||||
|
|
||||||
# Copyright 2007-2008 Frank Caraballo <fecaraballo{at}gmail{dot}com>
|
# Copyright 2007-2009 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
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=libkexiv2
|
PRGNAM=libkexiv2
|
||||||
VERSION=0.1.7
|
VERSION=${VERSION:-0.1.9}
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -33,8 +33,6 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
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"
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
|
@ -47,9 +45,8 @@ 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.bz2 || exit 1
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1
|
||||||
cd $PRGNAM-$VERSION || exit 1
|
cd $PRGNAM-$VERSION || exit 1
|
||||||
|
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
@ -65,20 +62,16 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--prefix=$KDEPREF \
|
--prefix=$KDEPREF \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--program-prefix="" \
|
--build=$ARCH-slackware-linux \
|
||||||
--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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a AUTHORS ChangeLog COPYING INSTALL NEWS PACKAGING README RELEASE.rev \
|
||||||
|
$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.7"
|
VERSION="0.1.9"
|
||||||
HOMEPAGE="http://extragear.kde.org/apps/kipi/"
|
HOMEPAGE="http://www.kipi-plugins.org/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/kipi/libkexiv2-0.1.7.tar.bz2"
|
DOWNLOAD="http://downloads.sourceforge.net/kipi/libkexiv2-0.1.9.tar.bz2"
|
||||||
MD5SUM="adfd55e11f919533ba450d4d49ef078f"
|
MD5SUM="6e6fc9edbfad4506f6f59508d9aa45d6"
|
||||||
MAINTAINER="Frank Caraballo"
|
MAINTAINER="Frank Caraballo"
|
||||||
EMAIL="fecaraballo{at}gmail{dot}com"
|
EMAIL="fecaraballo{at}gmail{dot}com"
|
||||||
APPROVED="David Somero"
|
APPROVED="dsomero"
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
# HOW TO EDIT THIS FILE:
|
# HOW TO EDIT THIS FILE:
|
||||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
# 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 '|'
|
# up the first '|' above the ':' following the base package name, and the '|' on
|
||||||
# on the right side marks the last column you can put a character in. You must
|
# the right side marks the last column you can put a character in. You must make
|
||||||
# make exactly 11 lines for the formatting to be correct. It's also
|
# exactly 11 lines for the formatting to be correct. It's also customary to
|
||||||
# customary to leave one space after the ':'.
|
# leave one space after the ':'.
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----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 pictures
|
||||||
libkexiv2: pictures metadata. This library is used by kipi-plugins,
|
libkexiv2: metadata. This library is used by kipi-plugins, digiKam and others
|
||||||
libkexiv2: digiKam and others kipi host programs. The library
|
libkexiv2: kipi host programs. The library documentation is available on
|
||||||
libkexiv2: documentation is available on kexiv2.h header file.
|
libkexiv2: kexiv2.h header file.
|
||||||
libkexiv2:
|
libkexiv2:
|
||||||
libkexiv2: Homepage: http://extragear.kde.org/apps/kipi/
|
libkexiv2: Homepage: http://www.kipi-plugins.org/
|
||||||
libkexiv2:
|
libkexiv2:
|
||||||
libkexiv2:
|
libkexiv2:
|
||||||
libkexiv2:
|
libkexiv2:
|
||||||
|
|
Loading…
Reference in a new issue