wok-6.x view libzdb/receipt @ rev 25506

memtest, pack: cleanup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 09 16:28:01 2023 +0000 (21 months ago)
parents ede1d184d5c5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libzdb"
4 VERSION="3.2.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Zild Database Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://www.tildeslash.com/libzdb/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://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 # What is the latest version available today?
25 current_version()
26 {
27 wget -O - ${WGET_URL%/*} 2>/dev/null | \
28 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./configure \
35 CC=gcc-83 \
36 CXX=g++-83 \
37 --prefix=/usr \
38 --without-postgresql \
39 --without-mysql \
40 --enable-optimized \
41 $CONFIGURE_ARGS &&
42 make &&
43 make install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 cook_copy_files *.so*
50 }