wok-next rev 18930
mmv, sqlite, unclutter: use EXTRA_SOURCE_FILES to track the sources files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 26 17:55:33 2016 +0100 (2016-02-26) |
parents | cd252d2e4a4d |
children | 5b16e60b3d24 |
files | mmv/receipt sqlite/receipt unclutter/receipt |
line diff
1.1 --- a/mmv/receipt Thu Feb 25 17:26:21 2016 +0100 1.2 +++ b/mmv/receipt Fri Feb 26 17:55:33 2016 +0100 1.3 @@ -9,6 +9,7 @@ 1.4 WEB_SITE="https://packages.debian.org/sid/mmv" 1.5 TARBALL="${PACKAGE}_${VERSION%-*}.orig.tar.gz" 1.6 WGET_URL="http://http.debian.net/debian/pool/main/m/mmv/$TARBALL" 1.7 +EXTRA_SOURCE_FILES="${PACKAGE}_$VERSION.debian.tar.gz" 1.8 1.9 DEPENDS="" 1.10 BUILD_DEPENDS="" 1.11 @@ -16,8 +17,9 @@ 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 { 1.15 - wget http://http.debian.net/debian/pool/main/m/mmv/${PACKAGE}_$VERSION.debian.tar.gz 1.16 - tar -xzf ${PACKAGE}_$VERSION.debian.tar.gz debian/patches/ 1.17 + wget -O "$SOURCES_REPOSITORY/${PACKAGE}_$VERSION.debian.tar.gz" \ 1.18 + http://http.debian.net/debian/pool/main/m/mmv/${PACKAGE}_$VERSION.debian.tar.gz 1.19 + tar -xzf $SOURCES_REPOSITORY/${PACKAGE}_$VERSION.debian.tar.gz debian/patches/ 1.20 cat debian/patches/series | while read file; do 1.21 patch -p1 < debian/patches/$file 1.22 done
2.1 --- a/sqlite/receipt Thu Feb 25 17:26:21 2016 +0100 2.2 +++ b/sqlite/receipt Fri Feb 26 17:55:33 2016 +0100 2.3 @@ -10,6 +10,7 @@ 2.4 TARBALL="$PACKAGE-src-${_realver}.zip" 2.5 WEB_SITE="http://www.sqlite.org/" 2.6 WGET_URL="http://www.sqlite.org/2015/$TARBALL" 2.7 +EXTRA_SOURCE_FILES="mysql2sqlite.sh" 2.8 HOST_ARCH="i486 arm" 2.9 2.10 DEPENDS="libsqlite" 2.11 @@ -18,6 +19,9 @@ 2.12 # Rules to configure and make the package. 2.13 compile_rules() 2.14 { 2.15 + [ -s "$SOURCES_REPOSITORY/mysql2sqlite.sh" ] || 2.16 + wget -O "$SOURCES_REPOSITORY/mysql2sqlite.sh" \ 2.17 + https://gist.github.com/esperlu/943776/raw/dd87f4088f6d5ec7563478f7a28a37ba02cf26e2/mysql2sqlite.sh 2.18 export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE" 2.19 ./configure \ 2.20 --prefix=/usr \ 2.21 @@ -45,9 +49,11 @@ 2.22 # Rules to gen a SliTaz package suitable for Tazpkg. 2.23 genpkg_rules() 2.24 { 2.25 - mkdir -p $fs/usr 2.26 + mkdir -p $fs/usr/bin 2.27 2.28 cp -a $install/usr/bin $fs/usr 2.29 + cp "$SOURCES_REPOSITORY/mysql2sqlite.sh" $fs/usr/bin 2.30 + chmod +x $fs/usr/bin/mysql2sqlite.sh 2.31 if [ -f $fs/usr/bin/lemon ]; then 2.32 rm -f $fs/usr/bin/lemon 2.33 fi
3.1 --- a/unclutter/receipt Thu Feb 25 17:26:21 2016 +0100 3.2 +++ b/unclutter/receipt Fri Feb 26 17:55:33 2016 +0100 3.3 @@ -11,6 +11,7 @@ 3.4 WGET_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_8.orig.tar.gz" 3.5 PATCH_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_8-20.debian.tar.gz" 3.6 PATCH="$(basename $PATCH_URL)" 3.7 +EXTRA_SOURCE_FILES="$PATCH" 3.8 3.9 DEPENDS="xorg-libX11 libxcb xorg-libXau xorg-libXdmcp" 3.10 BUILD_DEPENDS=""