wok-stable view sqlite/receipt @ rev 5865

grub: remove ncurses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 20 10:44:46 2010 +0200 (2010-07-20)
parents d747b7cd6d08
children 6c8824502823
line source
1 # SliTaz package receipt.
3 PACKAGE="sqlite"
4 VERSION="3.6.23.1"
5 CATEGORY="office"
6 SHORT_DESC="Small SQL database engine."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 BUILD_DEPENDS="tcl"
10 WEB_SITE="http://www.sqlite.org/"
11 WGET_URL="http://www.sqlite.org/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --disable-tcl \
20 --disable-readline \
21 --enable-load-extension \
22 LDFLAGS=-ldl \
23 $CONFIGURE_ARGS &&
24 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool &&
25 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/bin $fs/usr
36 }