aboutsummaryrefslogtreecommitdiff
path: root/libraries/sqlite
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 22:24:23 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 22:24:23 +0200
commitbd4d2678b615a7329d5548b297646527cc94e604 (patch)
tree6c637b0a2e83e83b20a81951656fabadbfeb78cf /libraries/sqlite
parentf79524ac1796c94f77c4cb9f594e09e54e9fcb9d (diff)
libraries/sqlite: Updated for version 3.6.2
Diffstat (limited to 'libraries/sqlite')
-rw-r--r--libraries/sqlite/sqlite.SlackBuild22
-rw-r--r--libraries/sqlite/sqlite.info12
2 files changed, 20 insertions, 14 deletions
diff --git a/libraries/sqlite/sqlite.SlackBuild b/libraries/sqlite/sqlite.SlackBuild
index 837b0063b9a1..06d2a9fbc7e6 100644
--- a/libraries/sqlite/sqlite.SlackBuild
+++ b/libraries/sqlite/sqlite.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for sqlite3
# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
+# 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
diff --git a/libraries/sqlite/sqlite.info b/libraries/sqlite/sqlite.info
index bad564271ba2..3e6f8ff92e49 100644
--- a/libraries/sqlite/sqlite.info
+++ b/libraries/sqlite/sqlite.info
@@ -1,8 +1,8 @@
PRGNAM="sqlite"
-VERSION="3.5.7"
+VERSION="3.6.2"
HOMEPAGE="http://www.sqlite.org"
-DOWNLOAD="http://www.sqlite.org/sqlite-3.5.7.tar.gz"
-MD5SUM="8e4b8c7192c045a4a68c9f4d5cfab8a8"
-MAINTAINER="Martin Lefebvre"
-EMAIL="dadexter@gmail.com"
-APPROVED="rworkman"
+DOWNLOAD="http://www.sqlite.org/sqlite-3.6.2.tar.gz"
+MD5SUM="46f92e42243bc51aaa3871645ce78bd5"
+MAINTAINER="Robby Workman"
+EMAIL="rw@rlworkman.net"
+APPROVED="Erik Hanson David Somero"