wok-next annotate sqlite/receipt @ rev 200

Old category devel moved to development
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 13 00:25:19 2008 +0100 (2008-02-13)
parents 4959e5789caa
children de8dad81f96a
rev   line source
pankso@6 1 # SliTaz package receipt.
pankso@6 2
pankso@6 3 PACKAGE="sqlite"
pankso@6 4 VERSION="3.5.3"
pankso@178 5 CATEGORY="extra"
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"
pascal@153 11 JWM_MENU='Productivity:<Program icon="applications-other.png" label="SQLite">xterm -bg black -fg white -cr lightgreen -e sqlite3</Program>'
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@6 17 ./configure --prefix=/usr --disable-tcl \
pankso@6 18 $CONFIGURE_ARGS
pankso@6 19 make
pankso@6 20 make DESTDIR=$PWD/_pkg install
pankso@6 21 }
pankso@6 22
pankso@6 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@6 24 genpkg_rules()
pankso@6 25 {
pankso@6 26 mkdir -p $fs/usr/lib
pankso@6 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@6 28 cp -a $_pkg/usr/bin $fs/usr
pankso@6 29 strip -s $fs/usr/lib/*.so*
pankso@6 30 strip -s $fs/usr/bin/*
pankso@6 31 }