wok annotate sqlite/receipt @ rev 2425

x11vnc: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 11 11:38:18 2009 +0000 (2009-03-11)
parents 45b751869a6d
children 754fdb94b0c0
rev   line source
pankso@6 1 # SliTaz package receipt.
pankso@6 2
pankso@6 3 PACKAGE="sqlite"
pankso@2043 4 VERSION="3.6.10"
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"
pankso@6 9 WEB_SITE="http://www.sqlite.org/"
pankso@6 10 WGET_URL="http://www.sqlite.org/$TARBALL"
pankso@237 11 HANDBOOK_URL='http://www.slitaz.org/doc/handbook/office.html#sqlite'
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@612 23 $CONFIGURE_ARGS
pankso@6 24 make
pankso@6 25 make DESTDIR=$PWD/_pkg install
pankso@6 26 }
pankso@6 27
pankso@6 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@6 29 genpkg_rules()
pankso@6 30 {
pankso@6 31 mkdir -p $fs/usr/lib
pankso@6 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@6 33 cp -a $_pkg/usr/bin $fs/usr
pankso@6 34 }