wok-current annotate sqlite/receipt @ rev 1984
sqlite: add options needed by pysqlite
author | Pierre-Jean Fichet <sygne@ombres.eu> |
---|---|
date | Sun Jan 04 19:09:32 2009 +0100 (2009-01-04) |
parents | 1a979c69a95a |
children | db94d2fede44 |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="sqlite" |
pankso@1758 | 4 VERSION="3.6.6.1" |
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 \ |
sygne@1984 | 20 --enable-load-extension \ |
sygne@1984 | 21 LDFLAGS=-ldl \ |
pankso@612 | 22 $CONFIGURE_ARGS |
pankso@6 | 23 make |
pankso@6 | 24 make DESTDIR=$PWD/_pkg install |
pankso@6 | 25 } |
pankso@6 | 26 |
pankso@6 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 28 genpkg_rules() |
pankso@6 | 29 { |
pankso@6 | 30 mkdir -p $fs/usr/lib |
pankso@6 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@6 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@6 | 33 } |