mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/xapian-core: Updated for version 1.2.21.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d9ec8fd307
commit
2a965422ab
2 changed files with 12 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue