# HG changeset patch # User Christopher Rogers # Date 1286555802 0 # Node ID 17129723bbc46a53dc2fb24b15b2b7c99c9c010a # Parent be7631c85e32d9cb1c88c8b0f4b31c99b025604b Up: sqlite, sqlite-dev, lemon to 3.7.3. Made so lemon compiles itself when genpkg only so the patch in compile_rules gets though. Otherwize it will be from sqlite directly without patch and bigger by 8kb or corrupted package with nothing in it since sqlite- will not exist in /lemon. diff -r be7631c85e32 -r 17129723bbc4 lemon/receipt --- a/lemon/receipt Fri Oct 08 21:28:00 2010 +0200 +++ b/lemon/receipt Fri Oct 08 16:36:42 2010 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="lemon" -VERSION="3.7.2" +VERSION="3.7.3" CATEGORY="system-tools" SHORT_DESC="The LEMON Parser Generator (from the SQLite project)." MAINTAINER="pankso@slitaz.org" @@ -22,7 +22,14 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { + mkdir -p $fs/usr/bin $fs/usr/share/lemon - cp sqlite-$VERSION/lemon $fs/usr/bin - cp sqlite-$VERSION/lempar.c $fs/usr/share/lemon + if [ ! -d sqlite-$VERSION ]; then + tazwok compile $PACKAGE + cp sqlite-$VERSION/lemon $fs/usr/bin + cp sqlite-$VERSION/lempar.c $fs/usr/share/lemon + elif [ -d sqlite-$VERSION ]; then + cp sqlite-$VERSION/lemon $fs/usr/bin + cp sqlite-$VERSION/lempar.c $fs/usr/share/lemon + fi } diff -r be7631c85e32 -r 17129723bbc4 sqlite-dev/receipt --- a/sqlite-dev/receipt Fri Oct 08 21:28:00 2010 +0200 +++ b/sqlite-dev/receipt Fri Oct 08 16:36:42 2010 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="sqlite-dev" -VERSION="3.7.2" +VERSION="3.7.3" CATEGORY="development" SHORT_DESC="Small SQL database engine devel files." MAINTAINER="pankso@slitaz.org" diff -r be7631c85e32 -r 17129723bbc4 sqlite/receipt --- a/sqlite/receipt Fri Oct 08 21:28:00 2010 +0200 +++ b/sqlite/receipt Fri Oct 08 16:36:42 2010 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="sqlite" -VERSION="3.7.2" +VERSION="3.7.3" CATEGORY="office" SHORT_DESC="Small SQL database engine." MAINTAINER="pankso@slitaz.org"