wok-next annotate libzdb/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 5841522533ec
children
rev   line source
al@20456 1 # SliTaz package receipt v2.
pankso@16507 2
pankso@16507 3 PACKAGE="libzdb"
pankso@16507 4 VERSION="3.0"
pankso@16507 5 CATEGORY="system-tools"
al@20456 6 SHORT_DESC="Zild Database Library"
al@21020 7 MAINTAINER="devel@slitaz.org"
pankso@16507 8 LICENSE="GPL"
al@20456 9 WEB_SITE="http://www.tildeslash.com/libzdb/"
al@20456 10
pankso@16507 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16507 12 WGET_URL="http://www.tildeslash.com/libzdb/dist/$TARBALL"
pankso@16507 13
pascal@20098 14 BUILD_DEPENDS="sqlite3-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
pankso@16507 16
al@20456 17 compile_rules() {
pankso@16507 18 ./configure \
pankso@16507 19 --without-postgresql \
pankso@16507 20 --without-mysql \
pankso@16507 21 --enable-optimized \
pankso@16507 22 $CONFIGURE_ARGS &&
al@20595 23 fix libtool &&
al@20595 24 make &&
al@20595 25 make install
pankso@16507 26 }
pankso@16507 27
al@20456 28 genpkg_rules() {
al@20456 29 case $PACKAGE in
al@20456 30 libzdb)
al@20456 31 copy @std
al@20456 32 DEPENDS="sqlite3"
al@20456 33 ;;
al@20456 34 *-dev)
al@20456 35 copy @dev
al@20456 36 ;;
al@20456 37 esac
pankso@16507 38 }