network/sphinx: Updated for version 0.9.9.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Michael Johnson 2010-07-02 22:41:03 -05:00 committed by Erik Hanson
parent 393c2b6ba9
commit 626a343a87
2 changed files with 14 additions and 14 deletions

View file

@ -5,16 +5,14 @@
# Modified by the SlackBuilds.org project # Modified by the SlackBuilds.org project
PRGNAM=sphinx PRGNAM=sphinx
VERSION=0.9.7 VERSION=0.9.9
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -37,12 +35,14 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1 cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $TMP/$PRGNAM-$VERSION || exit 1 cd $TMP/$PRGNAM-$VERSION
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 .
@ -52,17 +52,17 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc/sphinx \ --sysconfdir=/etc/sphinx \
--build=$ARCH-slackware-linux \ --localstatedir=/var \
|| exit 1 --build=$ARCH-slackware-linux
make || exit 1 make
make install DESTDIR=$PKG || exit 1 make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG | xargs 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL doc scripts $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
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="sphinx" PRGNAM="sphinx"
VERSION="0.9.7" VERSION="0.9.9"
HOMEPAGE="http://www.sphinxsearch.com/" HOMEPAGE="http://www.sphinxsearch.com/"
DOWNLOAD="http://www.sphinxsearch.com/downloads/sphinx-0.9.7.tar.gz" DOWNLOAD="http://www.sphinxsearch.com/downloads/sphinx-0.9.9.tar.gz"
MD5SUM="32f2b7e98d8485c86108851d52c5cef4" MD5SUM="7b9b618cb9b378f949bb1b91ddcc4f54"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Michael Johnson" MAINTAINER="Michael Johnson"