graphics/kipi-plugins: Updated for version 0.1.4

This commit is contained in:
Frank Caraballo 2010-05-11 19:44:52 +02:00 committed by Robby Workman
parent 0e277f5444
commit d9dd7403c8
4 changed files with 30 additions and 23 deletions

View file

@ -7,5 +7,4 @@ as many or as few as you like, from within host programs.
The following programs are required to build Kipi Plugins:
(also available at http://www.slackbuilds.org/)
exiv2, imlib2, libgphoto2, libkipi
exiv2, imlib2, libgphoto2, libkdcraw, libkipi

View file

@ -2,7 +2,7 @@
# Slackware build script for Kipi Plugins
# Copyright 2007 MagicMan <MagicMan07@bluebottle.com>
# Copyright 2007 Frank Caraballo <fecaraballo{at}gmail{dot}com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -22,24 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by the SlackBuilds.org project
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root!"
exit 1
fi
PRGNAM=kipi-plugins
VERSION=0.1.3
VERSION=0.1.4
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=`pwd`
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
KDEPREF=$(kde-config --prefix)
PDOCS="AUTHORS ChangeLog COPYING INSTALL NEWS PACKAGING README TODO"
PDOCS="AUTHORS ChangeLog COPYING INSTALL NEWS PACKAGING README RELEASE.rev TODO"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@ -51,25 +45,31 @@ 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 .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=$KDEPREF \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=$KDEPREF/man \
--program-prefix="" \
--program-suffix="" \
--disable-debug \
--enable-shared=yes \
--enable-static=no \
|| exit 1
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
( cd $PKG/opt/kde/man
( cd $PKG/$KDEPREF/man
find . -type f -exec gzip -9 {} \;
for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="kipi-plugins"
VERSION="0.1.3"
VERSION="0.1.4"
HOMEPAGE="http://extragear.kde.org/apps/kipi/"
DOWNLOAD="http://dl.sourceforge.net/kipi/kipi-plugins-0.1.3.tar.bz2"
MD5SUM="7b8e55906b5d08280ab3ad3c2b43e8ab"
MAINTAINER="MagicMan"
EMAIL="MagicMan07@bluebottle.com"
APPROVED="robw810"
DOWNLOAD="http://downloads.sourceforge.net/kipi/kipi-plugins-0.1.4.tar.bz2"
MD5SUM="62469960593284b62302bde75a898c46"
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
APPROVED="rworkman"

View file

@ -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------------------------------------------------------|
kipi-plugins: Kipi Plugins (Plugins for libKipi)
kipi-plugins:
kipi-plugins: Kipi Plugins are additional functions for the KDE Images