wok diff sqlite/receipt @ rev 21115
libaio: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 19 18:51:13 2019 +0100 (2019-03-19) |
parents | 78adcea3ecfb |
children | 7c756a80db16 |
line diff
1.1 --- a/sqlite/receipt Sun May 08 13:44:26 2016 +0200 1.2 +++ b/sqlite/receipt Tue Mar 19 18:51:13 2019 +0100 1.3 @@ -1,15 +1,15 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="sqlite" 1.7 -_realver=3081101 1.8 -VERSION="${_realver:0:1}.${_realver:2:1}.${_realver:3:2}.${_realver:6:6}" 1.9 +_realver=3180000 1.10 +VERSION="${_realver:0:1}.${_realver:1:2}.${_realver:3:1}" 1.11 CATEGORY="office" 1.12 SHORT_DESC="Small SQL database engine." 1.13 MAINTAINER="pankso@slitaz.org" 1.14 LICENSE="PublicDomain" 1.15 TARBALL="$PACKAGE-src-${_realver}.zip" 1.16 WEB_SITE="http://www.sqlite.org/" 1.17 -WGET_URL="http://www.sqlite.org/2015/$TARBALL" 1.18 +WGET_URL="http://www.sqlite.org/2017/$TARBALL" 1.19 EXTRA_SOURCE_FILES="mysql2sqlite.sh" 1.20 HOST_ARCH="i486 arm" 1.21 1.22 @@ -25,7 +25,7 @@ 1.23 [ -s "$SOURCES_REPOSITORY/mysql2sqlite.sh" ] || 1.24 wget -O "$SOURCES_REPOSITORY/mysql2sqlite.sh" \ 1.25 https://gist.github.com/esperlu/943776/raw/dd87f4088f6d5ec7563478f7a28a37ba02cf26e2/mysql2sqlite.sh 1.26 - export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE" 1.27 + 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.28 ./configure \ 1.29 --prefix=/usr \ 1.30 --disable-readline \ 1.31 @@ -33,21 +33,7 @@ 1.32 LDFLAGS="$LDFLAGS -ldl" \ 1.33 $ARCH_ARGS \ 1.34 $CONFIGURE_ARGS && 1.35 - sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool && 1.36 - sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool && 1.37 - make && 1.38 - make DESTDIR=$DESTDIR install 1.39 - # compile lemon here instead of in lemon 1.40 - if [ -f $src/lemon ]; then 1.41 - rm $src/lemon 1.42 - fi 1.43 - cp $src/tool/lemon.c . 1.44 - sed -i -e 's!lempar.c!/usr/share/lemon/lempar.c!' lemon.c 1.45 - echo -n "Compiling lemon..." 1.46 - gcc -o lemon lemon.c && status 1.47 - mkdir -p $DESTDIR/usr/share/lemon 1.48 - cp -a $src/lemon $DESTDIR/usr/bin 1.49 - cp -a $src/lempar.c $DESTDIR/usr/share/lemon 1.50 + make && make install 1.51 } 1.52 1.53 # Rules to gen a SliTaz package suitable for Tazpkg.