summaryrefslogtreecommitdiff
path: root/libraries/xapian-core/xapian-core.SlackBuild
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/xapian-core.SlackBuild
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/xapian-core.SlackBuild')
-rw-r--r--libraries/xapian-core/xapian-core.SlackBuild18
1 files changed, 9 insertions, 9 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