wok annotate sqlite/receipt @ rev 6574

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.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 08 16:36:42 2010 +0000 (2010-10-08)
parents 6c8824502823
children dc574374a35e
rev   line source
pankso@6 1 # SliTaz package receipt.
pankso@6 2
pankso@6 3 PACKAGE="sqlite"
slaxemulator@6574 4 VERSION="3.7.3"
pankso@205 5 CATEGORY="office"
pankso@6 6 SHORT_DESC="Small SQL database engine."
pankso@6 7 MAINTAINER="pankso@slitaz.org"
pankso@6 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@5351 9 BUILD_DEPENDS="tcl"
pankso@6 10 WEB_SITE="http://www.sqlite.org/"
pankso@6 11 WGET_URL="http://www.sqlite.org/$TARBALL"
pankso@6 12
pankso@6 13 # Rules to configure and make the package.
pankso@6 14 compile_rules()
pankso@6 15 {
pankso@6 16 cd $src
pankso@612 17 ./configure \
pankso@612 18 --prefix=/usr \
pankso@612 19 --disable-tcl \
pankso@2047 20 --disable-readline \
sygne@1984 21 --enable-load-extension \
sygne@1984 22 LDFLAGS=-ldl \
pankso@3156 23 $CONFIGURE_ARGS &&
slaxemulator@5351 24 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool &&
slaxemulator@5351 25 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool &&
pankso@3156 26 make &&
pankso@6 27 make DESTDIR=$PWD/_pkg install
pankso@6 28 }
pankso@6 29
pankso@6 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@6 31 genpkg_rules()
pankso@6 32 {
pankso@6 33 mkdir -p $fs/usr/lib
pankso@6 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@6 35 cp -a $_pkg/usr/bin $fs/usr
pankso@6 36 }