summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Elliott <alex@alex-elliott.co.uk>2010-05-11 22:23:36 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:23:36 +0200
commit2e4328a4a1c94e99ac5d6094652beedf0b8eef9a (patch)
treececf404cca88cbb4195589b1317452a140823353
parente7ef9fa9a3561c6459dc37323c483cf386f53826 (diff)
downloadslackbuilds-2e4328a4a1c94e99ac5d6094652beedf0b8eef9a.tar.gz
libraries/enchant: Updated for version 1.4.1
-rw-r--r--libraries/enchant/enchant.SlackBuild20
-rw-r--r--libraries/enchant/enchant.info6
2 files changed, 18 insertions, 8 deletions
diff --git a/libraries/enchant/enchant.SlackBuild b/libraries/enchant/enchant.SlackBuild
index faf619afef..41cdaa76d8 100644
--- a/libraries/enchant/enchant.SlackBuild
+++ b/libraries/enchant/enchant.SlackBuild
@@ -4,10 +4,11 @@
# Written by Alex Elliott <alex@alex-elliott.co.uk>
PRGNAM=enchant
-VERSION=1.3.0
+VERSION=1.4.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -15,8 +16,10 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -28,7 +31,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -36,8 +43,11 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--with-aspell-prefix=/usr \
- --enable-static=no
+ --enable-static=no \
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
diff --git a/libraries/enchant/enchant.info b/libraries/enchant/enchant.info
index 6adcaa4224..e7cb977316 100644
--- a/libraries/enchant/enchant.info
+++ b/libraries/enchant/enchant.info
@@ -1,8 +1,8 @@
PRGNAM="enchant"
-VERSION="1.3.0"
+VERSION="1.4.1"
HOMEPAGE="http://www.abisource.com/projects/enchant/"
-DOWNLOAD="http://www.abisource.com/downloads/enchant/1.3.0/enchant-1.3.0.tar.gz"
-MD5SUM="f7edafae875616b83e7a17a7e5c2d585"
+DOWNLOAD="http://www.abisource.com/downloads/enchant/1.4.1/enchant-1.4.1.tar.gz"
+MD5SUM="8d309d2fb39a0f5fd2aa564446cb8d62"
MAINTAINER="Alex Elliott"
EMAIL="alex@alex-elliott.co.uk"
APPROVED="rworkman"