# HG changeset patch # User Hans-G?nter Theisgen # Date 1570628066 -3600 # Node ID 7c756a80db165ba86e2dbf190cb17984f02bfc0a # Parent 0f455d53415762005fb03cf4251af9cbaf62187f updated sqlite, sqlite-dev and libsqlite (3.18.0 -> 3.30.0) diff -r 0f455d534157 -r 7c756a80db16 libsqlite/receipt --- a/libsqlite/receipt Tue Oct 08 17:21:11 2019 +0100 +++ b/libsqlite/receipt Wed Oct 09 14:34:26 2019 +0100 @@ -1,14 +1,16 @@ # SliTaz package receipt. PACKAGE="libsqlite" -_realver=3180000 +_realver=3300000 VERSION="${_realver:0:1}.${_realver:1:2}.${_realver:3:1}" CATEGORY="office" SHORT_DESC="Small SQL database engine." MAINTAINER="erjo@slitaz.org" LICENSE="PublicDomain" -WEB_SITE="http://www.sqlite.org/" +WEB_SITE="https://www.sqlite.org/index.html" + WANTED="sqlite" + HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 0f455d534157 -r 7c756a80db16 sqlite-dev/receipt --- a/sqlite-dev/receipt Tue Oct 08 17:21:11 2019 +0100 +++ b/sqlite-dev/receipt Wed Oct 09 14:34:26 2019 +0100 @@ -1,23 +1,25 @@ # SliTaz package receipt. PACKAGE="sqlite-dev" -_realver=3180000 +_realver=3300000 VERSION="${_realver:0:1}.${_realver:1:2}.${_realver:3:1}" CATEGORY="development" -SHORT_DESC="Small SQL database engine devel files." +SHORT_DESC="Small SQL database engine - development files." MAINTAINER="pankso@slitaz.org" LICENSE="PublicDomain" -WANTED="sqlite" -WEB_SITE="http://www.sqlite.org/" -HOST_ARCH="i486 arm" +WEB_SITE="https://www.sqlite.org/index.html" DEPENDS="sqlite pkg-config" +WANTED="sqlite" + +HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr + + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr } diff -r 0f455d534157 -r 7c756a80db16 sqlite/receipt --- a/sqlite/receipt Tue Oct 08 17:21:11 2019 +0100 +++ b/sqlite/receipt Wed Oct 09 14:34:26 2019 +0100 @@ -1,21 +1,24 @@ # SliTaz package receipt. PACKAGE="sqlite" -_realver=3180000 +_realver=3300000 VERSION="${_realver:0:1}.${_realver:1:2}.${_realver:3:1}" CATEGORY="office" SHORT_DESC="Small SQL database engine." MAINTAINER="pankso@slitaz.org" LICENSE="PublicDomain" +WEB_SITE="https://www.sqlite.org/index.html" + TARBALL="$PACKAGE-src-${_realver}.zip" -WEB_SITE="http://www.sqlite.org/" -WGET_URL="http://www.sqlite.org/2017/$TARBALL" +WGET_URL="http://www.sqlite.org/2019/$TARBALL" + EXTRA_SOURCE_FILES="mysql2sqlite.sh" -HOST_ARCH="i486 arm" DEPENDS="libsqlite" BUILD_DEPENDS="tcl-dev" +HOST_ARCH="i486 arm" + # Rules to configure and make the package. compile_rules() { @@ -25,15 +28,17 @@ [ -s "$SOURCES_REPOSITORY/mysql2sqlite.sh" ] || wget -O "$SOURCES_REPOSITORY/mysql2sqlite.sh" \ https://gist.github.com/esperlu/943776/raw/dd87f4088f6d5ec7563478f7a28a37ba02cf26e2/mysql2sqlite.sh + export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DTCLSH=1" - ./configure \ - --prefix=/usr \ - --disable-readline \ - --enable-load-extension \ - LDFLAGS="$LDFLAGS -ldl" \ - $ARCH_ARGS \ + ./configure \ + --prefix=/usr \ + --disable-readline \ + --enable-load-extension \ + LDFLAGS="$LDFLAGS -ldl" \ + $ARCH_ARGS \ $CONFIGURE_ARGS && - make && make install + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -41,10 +46,12 @@ { mkdir -p $fs/usr/bin - cp -a $install/usr/bin $fs/usr - cp "$SOURCES_REPOSITORY/mysql2sqlite.sh" $fs/usr/bin + cp -a $install/usr/bin $fs/usr + cp "$SOURCES_REPOSITORY/mysql2sqlite.sh" $fs/usr/bin + chmod +x $fs/usr/bin/mysql2sqlite.sh - if [ -f $fs/usr/bin/lemon ]; then + if [ -f $fs/usr/bin/lemon ] + then rm -f $fs/usr/bin/lemon fi }