diff options
author | Michael Johnson <youngmug@animeneko.net> | 2010-07-02 22:41:03 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-07-03 02:31:44 -0500 |
commit | 626a343a8753107e0b84c519d6da9ca0ab32c7f1 (patch) | |
tree | fad6ed7aedad71f0ab7bd3441ed21a7a384a2ab6 /network/sphinx/sphinx.SlackBuild | |
parent | 393c2b6ba94e555ce78ff82290ea30aa8f48656d (diff) |
network/sphinx: Updated for version 0.9.9.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/sphinx/sphinx.SlackBuild')
-rw-r--r-- | network/sphinx/sphinx.SlackBuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/network/sphinx/sphinx.SlackBuild b/network/sphinx/sphinx.SlackBuild index a7cbf12651f8..016fee871a76 100644 --- a/network/sphinx/sphinx.SlackBuild +++ b/network/sphinx/sphinx.SlackBuild @@ -5,16 +5,14 @@ # Modified by the SlackBuilds.org project PRGNAM=sphinx -VERSION=0.9.7 +VERSION=0.9.9 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -37,12 +35,14 @@ else LIBDIRSUFFIX="" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$VERSION -tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 -cd $TMP/$PRGNAM-$VERSION || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $TMP/$PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+w,go+r-w . @@ -52,17 +52,17 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc/sphinx \ - --build=$ARCH-slackware-linux \ - || exit 1 + --localstatedir=/var \ + --build=$ARCH-slackware-linux -make || exit 1 -make install DESTDIR=$PKG || exit 1 +make +make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true 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 mkdir -p $PKG/install |