wok view libzdb/receipt @ rev 23515

busybox: musl & diet may fail (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 06 12:11:08 2020 +0200 (2020-04-06)
parents f87f9df200aa
children ede1d184d5c5
line source
1 # SliTaz package receipt.
3 PACKAGE="libzdb"
4 VERSION="3.2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Zild Database Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="http://www.tildeslash.com/libzdb/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.tildeslash.com/libzdb/dist/$TARBALL"
14 DEPENDS="gcc83-lib-base sqlite"
15 BUILD_DEPENDS="gcc83 sqlite-dev"
17 #HOST_ARCH="i486 arm"
19 # Handle cross comilation
20 case "$ARCH" in
21 arm) ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 CC=gcc-83 \
29 CXX=g++-83 \
30 --prefix=/usr \
31 --without-postgresql \
32 --without-mysql \
33 --enable-optimized \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }