wok-6.x view sqlite/receipt @ rev 6310
Up: m4 to 1.4.15.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 16 20:57:21 2010 +0000 (2010-09-16) |
parents | 5144a898a64e |
children | 17129723bbc4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sqlite"
4 VERSION="3.7.2"
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 }