wok-current view sqlite/receipt @ rev 6574
Up: sqlite, sqlite-dev, lemon to 3.7.3. Made so lemon compiles itself when genpkg only so the patch in compile_rules gets though. Otherwize it will be from sqlite directly without patch and bigger by 8kb or corrupted package with nothing in it since sqlite- will not exist in /lemon.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 08 16:36:42 2010 +0000 (2010-10-08) |
parents | 6c8824502823 |
children | dc574374a35e |
line source
1 # SliTaz package receipt.
3 PACKAGE="sqlite"
4 VERSION="3.7.3"
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 }