wok-next annotate libnxml/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@19818 1 # SliTaz package receipt v2.
tcg@17142 2
tcg@17142 3 PACKAGE="libnxml"
tcg@17142 4 VERSION="0.18.3"
tcg@17142 5 CATEGORY="libs"
al@21020 6 SHORT_DESC="Parsing, writing and creating XML 1.0 and 1.1 files or streams"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@17145 8 LICENSE="LGPL2.1"
al@19818 9 WEB_SITE="https://www.autistici.org/bakunin/libnxml/doc/"
al@19818 10
tcg@17142 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19818 12 WGET_URL="https://www.autistici.org/bakunin/libnxml/$TARBALL"
tcg@17142 13
al@19818 14 BUILD_DEPENDS="gfortran curl-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
tcg@17142 16
al@20595 17 compile_rules() {
al@20595 18 ./configure $CONFIGURE_ARGS &&
al@20595 19 fix libtool &&
al@20595 20 make &&
al@20595 21 make install
tcg@17142 22 }
tcg@17142 23
al@20595 24 genpkg_rules() {
al@19818 25 case $PACKAGE in
al@19818 26 libnxml)
al@19818 27 copy @std
al@19818 28 DEPENDS="libcurl"
al@19818 29 ;;
al@19818 30 *-dev)
al@19818 31 copy @dev
al@19818 32 DEPENDS="libnxml curl-dev openssl-dev zlib-dev"
al@19818 33 ;;
al@19818 34 esac
tcg@17142 35 }