network/sphinx: Updated for version 2.0.5.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-03 15:56:11 -04:00
parent faac92c778
commit f783542d53
2 changed files with 13 additions and 8 deletions

View file

@ -5,7 +5,7 @@
# Modified by the SlackBuilds.org project # Modified by the SlackBuilds.org project
PRGNAM=sphinx PRGNAM=sphinx
VERSION=0.9.9 VERSION=2.0.5
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -40,9 +40,9 @@ set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION-release
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/$PRGNAM-$VERSION-release.tar.gz
cd $TMP/$PRGNAM-$VERSION cd $TMP/$PRGNAM-$VERSION-release
chown -R root:root . chown -R root:root .
chmod -R a-s,u+w,go+r-w . chmod -R a-s,u+w,go+r-w .
@ -53,14 +53,19 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc/sphinx \ --sysconfdir=/etc/sphinx \
--localstatedir=/var \ --localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make
make install DESTDIR=$PKG 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 | 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL doc/* $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING INSTALL doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="sphinx" PRGNAM="sphinx"
VERSION="0.9.9" VERSION="2.0.5"
HOMEPAGE="http://www.sphinxsearch.com/" HOMEPAGE="http://www.sphinxsearch.com/"
DOWNLOAD="http://www.sphinxsearch.com/downloads/sphinx-0.9.9.tar.gz" DOWNLOAD="http://www.sphinxsearch.com/files/sphinx-2.0.5-release.tar.gz"
MD5SUM="7b9b618cb9b378f949bb1b91ddcc4f54" MD5SUM="e71fdb5b0c2911247d48fb30550b9584"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""