mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/sqlite: Updated for version 3.6.2
This commit is contained in:
parent
f79524ac17
commit
bd4d2678b6
2 changed files with 20 additions and 14 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue