summaryrefslogtreecommitdiff
path: root/libraries/xapian-core
diff options
context:
space:
mode:
authortitopoquito <titopoquito@gmail.com>2015-10-11 14:58:28 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-11 15:01:59 +0700
commit2a965422abbca2c5090d12066653b2c7ce465d1b (patch)
tree3d83e2036589b4e405d5832255694d6705eee9a8 /libraries/xapian-core
parentd9ec8fd3077a06efc4de8695f836d0a2752dd0c8 (diff)
downloadslackbuilds-2a965422abbca2c5090d12066653b2c7ce465d1b.tar.gz
libraries/xapian-core: Updated for version 1.2.21.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/xapian-core')
-rw-r--r--libraries/xapian-core/xapian-core.SlackBuild18
-rw-r--r--libraries/xapian-core/xapian-core.info6
2 files changed, 12 insertions, 12 deletions
diff --git a/libraries/xapian-core/xapian-core.SlackBuild b/libraries/xapian-core/xapian-core.SlackBuild
index ac72ccb20d..95e73c6f95 100644
--- a/libraries/xapian-core/xapian-core.SlackBuild
+++ b/libraries/xapian-core/xapian-core.SlackBuild
@@ -23,7 +23,7 @@
# SUCH DAMAGE.
PRGNAM=xapian-core
-VERSION=${VERSION:-1.2.12}
+VERSION=${VERSION:-1.2.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,14 +60,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -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 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -84,17 +84,17 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS HACKING PLATFORMS README \
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS HACKING PLATFORMS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
# We don't need api docs, I don't think --rworkman
rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/apidoc
diff --git a/libraries/xapian-core/xapian-core.info b/libraries/xapian-core/xapian-core.info
index 4fbf20f31f..e4bb0dbe59 100644
--- a/libraries/xapian-core/xapian-core.info
+++ b/libraries/xapian-core/xapian-core.info
@@ -1,8 +1,8 @@
PRGNAM="xapian-core"
-VERSION="1.2.12"
+VERSION="1.2.21"
HOMEPAGE="http://www.xapian.org/"
-DOWNLOAD="http://oligarchy.co.uk/xapian/1.2.12/xapian-core-1.2.12.tar.gz"
-MD5SUM="faf33a3945edbe4c848627750856cbeb"
+DOWNLOAD="http://oligarchy.co.uk/xapian/1.2.21/xapian-core-1.2.21.tar.xz"
+MD5SUM="276497a458a8ae63e7dceb372cc1bc37"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""