wok rev 21949

updated sqlite, sqlite-dev and libsqlite (3.18.0 -> 3.30.0)
author Hans-G?nter Theisgen
date Wed Oct 09 14:34:26 2019 +0100 (15 months ago)
parents 0f455d534157
children cc5609fcc355
files libsqlite/receipt sqlite-dev/receipt sqlite/receipt
line diff
     1.1 --- a/libsqlite/receipt	Tue Oct 08 17:21:11 2019 +0100
     1.2 +++ b/libsqlite/receipt	Wed Oct 09 14:34:26 2019 +0100
     1.3 @@ -1,14 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libsqlite"
     1.7 -_realver=3180000
     1.8 +_realver=3300000
     1.9  VERSION="${_realver:0:1}.${_realver:1:2}.${_realver:3:1}"
    1.10  CATEGORY="office"
    1.11  SHORT_DESC="Small SQL database engine."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="PublicDomain"
    1.14 -WEB_SITE="http://www.sqlite.org/"
    1.15 +WEB_SITE="https://www.sqlite.org/index.html"
    1.16 +
    1.17  WANTED="sqlite"
    1.18 +
    1.19  HOST_ARCH="i486 arm"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/sqlite-dev/receipt	Tue Oct 08 17:21:11 2019 +0100
     2.2 +++ b/sqlite-dev/receipt	Wed Oct 09 14:34:26 2019 +0100
     2.3 @@ -1,23 +1,25 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="sqlite-dev"
     2.7 -_realver=3180000
     2.8 +_realver=3300000
     2.9  VERSION="${_realver:0:1}.${_realver:1:2}.${_realver:3:1}"
    2.10  CATEGORY="development"
    2.11 -SHORT_DESC="Small SQL database engine devel files."
    2.12 +SHORT_DESC="Small SQL database engine - development files."
    2.13  MAINTAINER="pankso@slitaz.org"
    2.14  LICENSE="PublicDomain"
    2.15 -WANTED="sqlite"
    2.16 -WEB_SITE="http://www.sqlite.org/"
    2.17 -HOST_ARCH="i486 arm"
    2.18 +WEB_SITE="https://www.sqlite.org/index.html"
    2.19  
    2.20  DEPENDS="sqlite pkg-config"
    2.21 +WANTED="sqlite"
    2.22 +
    2.23 +HOST_ARCH="i486 arm"
    2.24  
    2.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.26  genpkg_rules()
    2.27  {
    2.28  	mkdir -p $fs/usr/lib
    2.29 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    2.30 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.31 -	cp -a $install/usr/include $fs/usr
    2.32 +
    2.33 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    2.34 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    2.35 +	cp -a $install/usr/include		$fs/usr
    2.36  }
     3.1 --- a/sqlite/receipt	Tue Oct 08 17:21:11 2019 +0100
     3.2 +++ b/sqlite/receipt	Wed Oct 09 14:34:26 2019 +0100
     3.3 @@ -1,21 +1,24 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="sqlite"
     3.7 -_realver=3180000
     3.8 +_realver=3300000
     3.9  VERSION="${_realver:0:1}.${_realver:1:2}.${_realver:3:1}"
    3.10  CATEGORY="office"
    3.11  SHORT_DESC="Small SQL database engine."
    3.12  MAINTAINER="pankso@slitaz.org"
    3.13  LICENSE="PublicDomain"
    3.14 +WEB_SITE="https://www.sqlite.org/index.html"
    3.15 +
    3.16  TARBALL="$PACKAGE-src-${_realver}.zip"
    3.17 -WEB_SITE="http://www.sqlite.org/"
    3.18 -WGET_URL="http://www.sqlite.org/2017/$TARBALL"
    3.19 +WGET_URL="http://www.sqlite.org/2019/$TARBALL"
    3.20 +
    3.21  EXTRA_SOURCE_FILES="mysql2sqlite.sh"
    3.22 -HOST_ARCH="i486 arm"
    3.23  
    3.24  DEPENDS="libsqlite"
    3.25  BUILD_DEPENDS="tcl-dev"
    3.26  
    3.27 +HOST_ARCH="i486 arm"
    3.28 +
    3.29  # Rules to configure and make the package.
    3.30  compile_rules()
    3.31  {
    3.32 @@ -25,15 +28,17 @@
    3.33  	[ -s "$SOURCES_REPOSITORY/mysql2sqlite.sh" ] ||
    3.34  		wget -O "$SOURCES_REPOSITORY/mysql2sqlite.sh" \
    3.35  			https://gist.github.com/esperlu/943776/raw/dd87f4088f6d5ec7563478f7a28a37ba02cf26e2/mysql2sqlite.sh
    3.36 +
    3.37  	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"
    3.38 -	./configure \
    3.39 -		--prefix=/usr \
    3.40 -		--disable-readline \
    3.41 -		--enable-load-extension \
    3.42 -		LDFLAGS="$LDFLAGS -ldl" \
    3.43 -		$ARCH_ARGS \
    3.44 +	./configure			\
    3.45 +		--prefix=/usr		\
    3.46 +		--disable-readline	\
    3.47 +		--enable-load-extension	\
    3.48 +		LDFLAGS="$LDFLAGS -ldl"	\
    3.49 +		$ARCH_ARGS		\
    3.50  		$CONFIGURE_ARGS &&
    3.51 -		make && make install
    3.52 +	make &&
    3.53 +	make install
    3.54  }
    3.55  
    3.56  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.57 @@ -41,10 +46,12 @@
    3.58  {
    3.59  	mkdir -p $fs/usr/bin
    3.60  	
    3.61 -	cp -a $install/usr/bin $fs/usr
    3.62 -	cp "$SOURCES_REPOSITORY/mysql2sqlite.sh" $fs/usr/bin
    3.63 +	cp -a $install/usr/bin				$fs/usr
    3.64 +	cp "$SOURCES_REPOSITORY/mysql2sqlite.sh"	$fs/usr/bin
    3.65 +
    3.66  	chmod +x $fs/usr/bin/mysql2sqlite.sh
    3.67 -	if [ -f $fs/usr/bin/lemon ]; then
    3.68 +	if [ -f $fs/usr/bin/lemon ]
    3.69 +	  then
    3.70  		rm -f $fs/usr/bin/lemon
    3.71  	fi
    3.72  }