wok annotate sqlite/receipt @ rev 5867

libxcb-dev: add deps libpthread-stubs
author Antoine Bodin <gokhlayeh@mailoo.org>
date Tue Jul 20 17:21:44 2010 +0200 (2010-07-20)
parents d747b7cd6d08
children 6c8824502823
rev   line source
pankso@6 1 # SliTaz package receipt.
pankso@6 2
pankso@6 3 PACKAGE="sqlite"
slaxemulator@5351 4 VERSION="3.6.23.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"
slaxemulator@5351 9 BUILD_DEPENDS="tcl"
pankso@6 10 WEB_SITE="http://www.sqlite.org/"
pankso@6 11 WGET_URL="http://www.sqlite.org/$TARBALL"
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@2047 20 --disable-readline \
sygne@1984 21 --enable-load-extension \
sygne@1984 22 LDFLAGS=-ldl \
pankso@3156 23 $CONFIGURE_ARGS &&
slaxemulator@5351 24 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool &&
slaxemulator@5351 25 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool &&
pankso@3156 26 make &&
pankso@6 27 make DESTDIR=$PWD/_pkg install
pankso@6 28 }
pankso@6 29
pankso@6 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@6 31 genpkg_rules()
pankso@6 32 {
pankso@6 33 mkdir -p $fs/usr/lib
pankso@6 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@6 35 cp -a $_pkg/usr/bin $fs/usr
pankso@6 36 }