From bd4d2678b615a7329d5548b297646527cc94e604 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 11 May 2010 22:24:23 +0200 Subject: libraries/sqlite: Updated for version 3.6.2 --- libraries/sqlite/sqlite.SlackBuild | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'libraries/sqlite/sqlite.SlackBuild') diff --git a/libraries/sqlite/sqlite.SlackBuild b/libraries/sqlite/sqlite.SlackBuild index 837b0063b9a1f..06d2a9fbc7e6b 100644 --- a/libraries/sqlite/sqlite.SlackBuild +++ b/libraries/sqlite/sqlite.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for sqlite3 # Copyright 2006 Martin Lefebvre +# Copyright 2008 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified by the SlackBuilds.org project - PRGNAM=sqlite -VERSION=3.5.7 +VERSION=3.6.2 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -39,6 +38,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -62,7 +63,12 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --enable-threadsafe + --enable-threadsafe \ + --enable-cross-thread-connections \ + --enable-tempstore=yes \ + --enable-load-extension \ + --enable-static=no \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG @@ -73,17 +79,17 @@ make install DESTDIR=$PKG ) # Add missed man page: +# I've sent a patch for Makefile.in upstream, so maybe this will go away install -D -m 0644 sqlite3.1 $PKG/usr/man/man1/sqlite3.1 gzip -9 $PKG/usr/man/man1/sqlite3.1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README VERSION doc/* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README VERSION $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/CVS -find $PKG/usr/doc -type f -exec chmod 0644 {} \; - # Add a COPYING file -- http://www.sqlite.org/copyright.html cat $CWD/COPYING > $PKG/usr/doc/$PRGNAM-$VERSION/COPYING +rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/CVS +find $PKG/usr/doc -type f -exec chmod 0644 {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -- cgit v1.2.3