wok annotate libzdb/receipt @ rev 18654
libtkimg: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 02 16:37:20 2015 +0100 (2015-12-02) |
parents | |
children | dfdd914deb97 |
rev | line source |
---|---|
pankso@16507 | 1 # SliTaz package receipt. |
pankso@16507 | 2 |
pankso@16507 | 3 PACKAGE="libzdb" |
pankso@16507 | 4 VERSION="3.0" |
pankso@16507 | 5 CATEGORY="system-tools" |
pankso@16507 | 6 SHORT_DESC="Zild Database Library." |
pankso@16507 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16507 | 8 LICENSE="GPL" |
pankso@16507 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16507 | 10 WEB_SITE="http://www.tildeslash.com/libzdb/" |
pankso@16507 | 11 WGET_URL="http://www.tildeslash.com/libzdb/dist/$TARBALL" |
pankso@16507 | 12 #HOST_ARCH="i486 arm" |
pankso@16507 | 13 |
pankso@16507 | 14 DEPENDS="sqlite" |
pankso@16507 | 15 BUILD_DEPENDS="sqlite-dev" |
pankso@16507 | 16 |
pankso@16507 | 17 # Handle cross comilation |
pankso@16507 | 18 case "$ARCH" in |
pankso@16507 | 19 arm) ;; |
pankso@16507 | 20 esac |
pankso@16507 | 21 |
pankso@16507 | 22 # Rules to configure and make the package. |
pankso@16507 | 23 compile_rules() |
pankso@16507 | 24 { |
pankso@16507 | 25 ./configure \ |
pankso@16507 | 26 --prefix=/usr \ |
pankso@16507 | 27 --without-postgresql \ |
pankso@16507 | 28 --without-mysql \ |
pankso@16507 | 29 --enable-optimized \ |
pankso@16507 | 30 $CONFIGURE_ARGS && |
pankso@16507 | 31 make && make install |
pankso@16507 | 32 } |
pankso@16507 | 33 |
pankso@16507 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16507 | 35 genpkg_rules() |
pankso@16507 | 36 { |
pankso@16507 | 37 mkdir -p $fs/usr/lib |
pankso@16507 | 38 cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib |
pankso@16507 | 39 } |
pankso@16507 | 40 |