wok diff sqlite/receipt @ rev 23501

updated python-jinja2 (2.7 -> 2.11.1)
author Hans-G?nter Theisgen
date Mon Apr 06 07:57:27 2020 +0100 (2020-04-06)
parents 294c02abfd9f
children d2ed45aa2b7e
line diff
     1.1 --- a/sqlite/receipt	Sat Apr 08 21:42:14 2017 +0000
     1.2 +++ b/sqlite/receipt	Mon Apr 06 07:57:27 2020 +0100
     1.3 @@ -1,21 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sqlite"
     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="pankso@slitaz.org"
    1.13  LICENSE="PublicDomain"
    1.14 +WEB_SITE="https://www.sqlite.org/index.html"
    1.15 +
    1.16  TARBALL="$PACKAGE-src-${_realver}.zip"
    1.17 -WEB_SITE="http://www.sqlite.org/"
    1.18 -WGET_URL="http://www.sqlite.org/2017/$TARBALL"
    1.19 +WGET_URL="http://www.sqlite.org/2019/$TARBALL"
    1.20 +
    1.21  EXTRA_SOURCE_FILES="mysql2sqlite.sh"
    1.22 -HOST_ARCH="i486 arm"
    1.23  
    1.24  DEPENDS="libsqlite"
    1.25  BUILD_DEPENDS="tcl-dev"
    1.26  
    1.27 +HOST_ARCH="i486 arm"
    1.28 +
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 @@ -25,15 +28,17 @@
    1.33  	[ -s "$SOURCES_REPOSITORY/mysql2sqlite.sh" ] ||
    1.34  		wget -O "$SOURCES_REPOSITORY/mysql2sqlite.sh" \
    1.35  			https://gist.github.com/esperlu/943776/raw/dd87f4088f6d5ec7563478f7a28a37ba02cf26e2/mysql2sqlite.sh
    1.36 +
    1.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"
    1.38 -	./configure \
    1.39 -		--prefix=/usr \
    1.40 -		--disable-readline \
    1.41 -		--enable-load-extension \
    1.42 -		LDFLAGS="$LDFLAGS -ldl" \
    1.43 -		$ARCH_ARGS \
    1.44 +	./configure			\
    1.45 +		--prefix=/usr		\
    1.46 +		--disable-readline	\
    1.47 +		--enable-load-extension	\
    1.48 +		LDFLAGS="$LDFLAGS -ldl"	\
    1.49 +		$ARCH_ARGS		\
    1.50  		$CONFIGURE_ARGS &&
    1.51 -		make && make install
    1.52 +	make &&
    1.53 +	make install
    1.54  }
    1.55  
    1.56  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.57 @@ -41,10 +46,12 @@
    1.58  {
    1.59  	mkdir -p $fs/usr/bin
    1.60  	
    1.61 -	cp -a $install/usr/bin $fs/usr
    1.62 -	cp "$SOURCES_REPOSITORY/mysql2sqlite.sh" $fs/usr/bin
    1.63 +	cp -a $install/usr/bin				$fs/usr
    1.64 +	cp "$SOURCES_REPOSITORY/mysql2sqlite.sh"	$fs/usr/bin
    1.65 +
    1.66  	chmod +x $fs/usr/bin/mysql2sqlite.sh
    1.67 -	if [ -f $fs/usr/bin/lemon ]; then
    1.68 +	if [ -f $fs/usr/bin/lemon ]
    1.69 +	  then
    1.70  		rm -f $fs/usr/bin/lemon
    1.71  	fi
    1.72  }