wok-current annotate sqlite/receipt @ rev 1860

Udpcast: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 15 21:38:53 2008 +0000 (2008-12-15)
parents caafef3c4f01
children 2d5bce3c5a01
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 \
pankso@612 20 $CONFIGURE_ARGS
pankso@6 21 make
pankso@6 22 make DESTDIR=$PWD/_pkg install
pankso@6 23 }
pankso@6 24
pankso@6 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@6 26 genpkg_rules()
pankso@6 27 {
pankso@6 28 mkdir -p $fs/usr/lib
pankso@6 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@6 30 cp -a $_pkg/usr/bin $fs/usr
pankso@6 31 }