wok view libzdb/receipt @ rev 18596

libsdl: fix post_install() status
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 13 17:31:47 2015 +0200 (2015-11-13)
parents
children dfdd914deb97
line source
1 # SliTaz package receipt.
3 PACKAGE="libzdb"
4 VERSION="3.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Zild Database Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.tildeslash.com/libzdb/"
11 WGET_URL="http://www.tildeslash.com/libzdb/dist/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="sqlite"
15 BUILD_DEPENDS="sqlite-dev"
17 # Handle cross comilation
18 case "$ARCH" in
19 arm) ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --without-postgresql \
28 --without-mysql \
29 --enable-optimized \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib
39 }