mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
libraries/enchant: Updated for version 1.4.1
This commit is contained in:
parent
e7ef9fa9a3
commit
2e4328a4a1
2 changed files with 18 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue