wok-current annotate libzdb/receipt @ rev 23127
updated libzdb and libzdb-dev (3.0 -> 3.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 13 10:27:50 2020 +0100 (2020-03-13) |
parents | f87f9df200aa |
children | ede1d184d5c5 |
rev | line source |
---|---|
pankso@16507 | 1 # SliTaz package receipt. |
pankso@16507 | 2 |
pankso@16507 | 3 PACKAGE="libzdb" |
Hans-G?nter@23127 | 4 VERSION="3.2.1" |
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" |
Hans-G?nter@23127 | 9 WEB_SITE="http://www.tildeslash.com/libzdb/" |
Hans-G?nter@23127 | 10 |
pankso@16507 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16507 | 12 WGET_URL="http://www.tildeslash.com/libzdb/dist/$TARBALL" |
Hans-G?nter@23127 | 13 |
Hans-G?nter@23127 | 14 DEPENDS="gcc83-lib-base sqlite" |
Hans-G?nter@23127 | 15 BUILD_DEPENDS="gcc83 sqlite-dev" |
Hans-G?nter@23127 | 16 |
pankso@16507 | 17 #HOST_ARCH="i486 arm" |
pankso@16507 | 18 |
pankso@16507 | 19 # Handle cross comilation |
pankso@16507 | 20 case "$ARCH" in |
pankso@16507 | 21 arm) ;; |
pankso@16507 | 22 esac |
pankso@16507 | 23 |
pankso@16507 | 24 # Rules to configure and make the package. |
pankso@16507 | 25 compile_rules() |
pankso@16507 | 26 { |
Hans-G?nter@23127 | 27 ./configure \ |
Hans-G?nter@23127 | 28 CC=gcc-83 \ |
Hans-G?nter@23127 | 29 CXX=g++-83 \ |
Hans-G?nter@23127 | 30 --prefix=/usr \ |
Hans-G?nter@23127 | 31 --without-postgresql \ |
Hans-G?nter@23127 | 32 --without-mysql \ |
Hans-G?nter@23127 | 33 --enable-optimized \ |
pankso@16507 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@23127 | 35 make && |
Hans-G?nter@23127 | 36 make install |
pankso@16507 | 37 } |
pankso@16507 | 38 |
pankso@16507 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16507 | 40 genpkg_rules() |
pankso@16507 | 41 { |
pankso@16507 | 42 mkdir -p $fs/usr/lib |
Hans-G?nter@23127 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@16507 | 44 } |
pankso@16507 | 45 |