aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-11 22:23:30 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:23:30 +0200
commitbdf1137b2a8f691743f3e00a507481f79a7fdaa8 (patch)
treece8c0648383736cd2eaa19c35819967558b2baa8 /libraries
parenta9afe22b6a8e985d3d69d170bf3c8d00e182e6a7 (diff)
libraries/clucene: Updated for version 0.9.21b
Diffstat (limited to 'libraries')
-rw-r--r--libraries/clucene/clucene.SlackBuild18
-rw-r--r--libraries/clucene/clucene.info8
-rw-r--r--libraries/clucene/slack-desc8
3 files changed, 21 insertions, 13 deletions
diff --git a/libraries/clucene/clucene.SlackBuild b/libraries/clucene/clucene.SlackBuild
index 50929947c85d0..73a3e32d397d1 100644
--- a/libraries/clucene/clucene.SlackBuild
+++ b/libraries/clucene/clucene.SlackBuild
@@ -1,9 +1,8 @@
#!/bin/sh
# Slackware build script for clucene
-# Written by ppr:kut <hmwiesinger@gmx.at>
-# Copyright 2007 Heinz Wiesinger
+# Copyright 2007-2008 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=clucene
-VERSION=0.9.20
+VERSION=0.9.21b
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -48,7 +50,11 @@ rm -rf $PRGNAM-core-$VERSION
tar xvf $CWD/$PRGNAM-core-$VERSION.tar.bz2
cd $PRGNAM-core-$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" \
@@ -56,7 +62,9 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --disable-static
+ --disable-static \
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
diff --git a/libraries/clucene/clucene.info b/libraries/clucene/clucene.info
index b43d826c1410f..650d9bdb7010a 100644
--- a/libraries/clucene/clucene.info
+++ b/libraries/clucene/clucene.info
@@ -1,8 +1,8 @@
PRGNAM="clucene"
-VERSION="0.9.20"
+VERSION="0.9.21b"
HOMEPAGE="http://clucene.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/clucene/clucene-core-0.9.20.tar.bz2"
-MD5SUM="da62da5d23b17fec67f0175481a603b8"
+DOWNLOAD="http://downloads.sourceforge.net/clucene/clucene-core-0.9.21b.tar.bz2"
+MD5SUM="ba1a8f764a2ca19c66ad907dddd88352"
MAINTAINER="ppr:kut"
-EMAIL="HMWiesinger@gmx.at"
+EMAIL="pprkut@liwjatan.at"
APPROVED="rworkman"
diff --git a/libraries/clucene/slack-desc b/libraries/clucene/slack-desc
index 4b7a015580265..19d254fb9b6c7 100644
--- a/libraries/clucene/slack-desc
+++ b/libraries/clucene/slack-desc
@@ -5,15 +5,15 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
+ |-----handy-ruler-----------------------------------------------------|
clucene: clucene (Text-Search Engine)
clucene:
clucene: CLucene is a C++ port of Lucene.
-clucene: It is a high-performance, full-featured text search
-clucene: engine written in C++. CLucene is faster than lucene
-clucene: as it is written in C++.
+clucene: It is a high-performance, full-featured text search engine written
+clucene: in C++. CLucene is faster than lucene as it is written in C++.
clucene:
clucene: Homepage: http://clucene.sourceforge.net
clucene:
clucene:
clucene:
+clucene: