aboutsummaryrefslogtreecommitdiff
path: root/libkexif
diff options
context:
space:
mode:
authorrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-14 14:00:52 +0000
committerrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-14 14:00:52 +0000
commitf3eb56451c4636cd0fcadafb8f8f0138b9c3af09 (patch)
tree154c7ccdec0d265f463e0677a53b5d7f0784914d /libkexif
parent6d13d5549c5f5c5b8ce427b243d90684b4ef9a4c (diff)
downloadslackbuilds-f3eb56451c4636cd0fcadafb8f8f0138b9c3af09.tar.gz
slackbuilds-f3eb56451c4636cd0fcadafb8f8f0138b9c3af09.tar.bz2
alterações em k9copy, libkexif e imlib2
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@621 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'libkexif')
-rw-r--r--[-rwxr-xr-x]libkexif/libkexif.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/libkexif/libkexif.SlackBuild b/libkexif/libkexif.SlackBuild
index ec58206d..4f4e4c53 100755..100644
--- a/libkexif/libkexif.SlackBuild
+++ b/libkexif/libkexif.SlackBuild
@@ -2,7 +2,7 @@
#
# slackbuild for libkexif, by Rudson R. Alves
# requires: none
-# tested: libkexif-0.2.2
+# tested: libkexif-0.2.5
CWD=`pwd`
@@ -16,8 +16,8 @@ fi
# -------- Variáveis de controle de versão --------------
# Nome da fonte para a qual o slackbuild foi construído e
# o seu md5sum
-SRC_ORIG="libkexif-0.2.2.tar.bz2"
-MD5_ORIG="..."
+SRC_ORIG="libkexif-0.2.5.tar.bz2"
+MD5_ORIG="a2b933b80deabe57d8515583236ae6ff"
PACKAGE_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)\.(.*\..*)$/\1/'`
VERSION_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)\.(.*\..*)$/\2/'`
EXTENSION=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)\.(.*\..*)$/\3/'`
@@ -25,7 +25,7 @@ VERSION_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)\.(.*\..*)$/\2/'`
# ------- Códigos de erro para o createpkg --------------
ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
+ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
ERROR_PATCH=40; ERROR_VCS=41
# --------- Inicializa variáveis de entrada -------------
@@ -40,7 +40,7 @@ REPOS=${REPOS:=$TMP}
PREFIX=${PREFIX:=/opt/kde}
OPTCONF=${OPTCONF:=""}
MD5=${MD5:=$MD5_ORIG}
-URL=${URL:="http://.../$SRC"}
+URL=${URL:="http://ufpr.dl.sourceforge.net/sourceforge/kipi/$SRC"}
# ---------------- SlackBuild Help ----------------------
if [ "$1" = "--help" -o "$1" = "help" ]; then
@@ -102,7 +102,7 @@ elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2"
- LIBDIR="$PREFIX/lib64"
+# LIBDIR="$PREFIX/lib64"
fi
# -------------- Desempacota fontes ---------------------
@@ -124,7 +124,8 @@ cd $PKG_DIR
# -------------- Configura programa ---------------------
# Configura programa
echo -e "\n\n\033[01;32m CFLAGS=\"$SLKCFLAGS\" ./configure --prefix=$PREFIX --libdir=$LIBDIR $OPTCONF \n\033[m"
-CFLAGS="$SLKCFLAGS" ./configure --prefix=$PREFIX --libdir=$LIBDIR $OPTCONF
+
+CFLAGS="$SLKCFLAGS" ./configure --prefix=$PREFIX $OPTCONF --libdir=$LIBDIR
if [ $? -ne 0 -o "$OPTCONF" = "--help" ]; then
echo -e "\n\n\033[01;31m Configure error \n\033[m"
exit $ERROR_CONF
@@ -185,7 +186,7 @@ EOF
# Criar diretório de documentação
PKG_DOC=$PKG/usr/doc/$PACKAGE-$VERSION
mkdir -p $PKG_DOC
-cp $PKG_DIR/{AUTHORS,COPYING,ChangeLog,INSTALL,README} $PKG_DOC
+cp $PKG_DIR/{AUTHORS,COPYING,ChangeLog,INSTALL,NEWS,PACKAGING,README,RELEASE.rev} $PKG_DOC
# --------------- Constroi o pacote ---------------------
echo -e "\n\n\033[01;32m makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz \n\033[m"