wok-6.x annotate 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
rev   line source
pankso@6 1 # SliTaz package receipt.
pankso@6 2
pankso@6 3 PACKAGE="sqlite"
slaxemulator@6225 4 VERSION="3.7.2"
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 }