wok diff sqlite/receipt @ rev 19104

firefox-official-*: provides browser-html5 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 04 15:39:12 2016 +0200 (2016-05-04)
parents 2b9e103a4c4d
children 77a9ec044381
line diff
     1.1 --- a/sqlite/receipt	Wed Dec 02 11:54:07 2015 +0100
     1.2 +++ b/sqlite/receipt	Wed May 04 15:39:12 2016 +0200
     1.3 @@ -10,6 +10,7 @@
     1.4  TARBALL="$PACKAGE-src-${_realver}.zip"
     1.5  WEB_SITE="http://www.sqlite.org/"
     1.6  WGET_URL="http://www.sqlite.org/2015/$TARBALL"
     1.7 +EXTRA_SOURCE_FILES="mysql2sqlite.sh"
     1.8  HOST_ARCH="i486 arm"
     1.9  
    1.10  DEPENDS="libsqlite"
    1.11 @@ -18,6 +19,9 @@
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 +	[ -s "$SOURCES_REPOSITORY/mysql2sqlite.sh" ] ||
    1.16 +		wget -O "$SOURCES_REPOSITORY/mysql2sqlite.sh" \
    1.17 +			https://gist.github.com/esperlu/943776/raw/dd87f4088f6d5ec7563478f7a28a37ba02cf26e2/mysql2sqlite.sh
    1.18  	export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE"
    1.19  	./configure \
    1.20  		--prefix=/usr \
    1.21 @@ -45,9 +49,11 @@
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -	mkdir -p $fs/usr
    1.26 +	mkdir -p $fs/usr/bin
    1.27  	
    1.28  	cp -a $install/usr/bin $fs/usr
    1.29 +	cp "$SOURCES_REPOSITORY/mysql2sqlite.sh" $fs/usr/bin
    1.30 +	chmod +x $fs/usr/bin/mysql2sqlite.sh
    1.31  	if [ -f $fs/usr/bin/lemon ]; then
    1.32  		rm -f $fs/usr/bin/lemon
    1.33  	fi