wok view libzdb/receipt @ rev 24749

cairo: modified lookup-symbol.c for binutils-2.37
author Hans-G?nter Theisgen
date Wed Mar 16 17:06:35 2022 +0100 (2022-03-16)
parents dfdd914deb97
children a1d37398afa7
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 # 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 mkdir -p $fs/usr/lib
50 cp -a $install/usr/lib/*.so* $fs/usr/lib
51 }