wok-current annotate sqlite/receipt @ rev 8136
Add lesstif to lesstif-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 24 21:15:20 2011 +0000 (2011-01-24) |
parents | dc574374a35e |
children | b50123d7512e |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="sqlite" |
slaxemulator@7610 | 4 _amalgamationver=3070400 |
slaxemulator@7610 | 5 _amalgamationver2=${_amalgamationver/00/} |
slaxemulator@7610 | 6 VERSION="${_amalgamationver2//0/.}" |
pankso@205 | 7 CATEGORY="office" |
pankso@6 | 8 SHORT_DESC="Small SQL database engine." |
pankso@6 | 9 MAINTAINER="pankso@slitaz.org" |
slaxemulator@7610 | 10 TARBALL="$PACKAGE-src-${_amalgamationver}.zip" |
slaxemulator@5351 | 11 BUILD_DEPENDS="tcl" |
pankso@6 | 12 WEB_SITE="http://www.sqlite.org/" |
pankso@6 | 13 WGET_URL="http://www.sqlite.org/$TARBALL" |
pankso@6 | 14 |
pankso@6 | 15 # Rules to configure and make the package. |
pankso@6 | 16 compile_rules() |
pankso@6 | 17 { |
slaxemulator@7610 | 18 src=$WOK/$PACKAGE/$PACKAGE-src-${_amalgamationver} |
pankso@6 | 19 cd $src |
pankso@612 | 20 ./configure \ |
pankso@612 | 21 --prefix=/usr \ |
pankso@612 | 22 --disable-tcl \ |
pankso@2047 | 23 --disable-readline \ |
sygne@1984 | 24 --enable-load-extension \ |
sygne@1984 | 25 LDFLAGS=-ldl \ |
pankso@3156 | 26 $CONFIGURE_ARGS && |
slaxemulator@5351 | 27 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool && |
slaxemulator@5351 | 28 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool && |
pankso@3156 | 29 make && |
pankso@6 | 30 make DESTDIR=$PWD/_pkg install |
slaxemulator@6577 | 31 # compile lemon here instead of in lemon |
slaxemulator@6577 | 32 if [ -f $src/lemon ]; then |
slaxemulator@6577 | 33 rm $src/lemon |
slaxemulator@6577 | 34 fi |
slaxemulator@6577 | 35 cp $src/tool/lemon.c . |
slaxemulator@6577 | 36 sed -i -e 's!lempar.c!/usr/share/lemon/lempar.c!' lemon.c |
slaxemulator@6577 | 37 echo -n "Compiling lemon..." |
slaxemulator@6577 | 38 gcc -o lemon lemon.c && status |
slaxemulator@6577 | 39 |
pankso@6 | 40 } |
pankso@6 | 41 |
pankso@6 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 43 genpkg_rules() |
pankso@6 | 44 { |
slaxemulator@7610 | 45 _pkg=$WOK/$PACKAGE/$PACKAGE-src-${_amalgamationver}/_pkg |
pankso@6 | 46 mkdir -p $fs/usr/lib |
pankso@6 | 47 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@6 | 48 cp -a $_pkg/usr/bin $fs/usr |
pankso@6 | 49 } |