wok-next annotate libnxml/receipt @ rev 19818

Random updates: cabextract, libmpeg2, libmrss, libmspack, libnet, libnxml.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 28 16:17:27 2017 +0300 (2017-07-28)
parents c711a8b94cb7
children 5841522533ec
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@19818 6 SHORT_DESC="nXML is a C library for parsing, writing and creating XML 1.0 and \
al@19818 7 1.1 files or streams"
tcg@17142 8 MAINTAINER="tcg.thegamer@gmail.com"
pascal@17145 9 LICENSE="LGPL2.1"
al@19818 10 WEB_SITE="https://www.autistici.org/bakunin/libnxml/doc/"
al@19818 11
tcg@17142 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19818 13 WGET_URL="https://www.autistici.org/bakunin/libnxml/$TARBALL"
tcg@17142 14
al@19818 15 BUILD_DEPENDS="gfortran curl-dev"
al@19818 16 SPLIT="libnxml-dev"
tcg@17142 17
tcg@17142 18 # Rules to configure and make the package.
tcg@17142 19 compile_rules()
tcg@17142 20 {
tcg@17142 21 ./configure $CONFIGURE_ARGS && make && make install
tcg@17142 22 }
tcg@17142 23
tcg@17142 24 # Rules to gen a SliTaz package suitable for Tazpkg.
tcg@17142 25 genpkg_rules()
tcg@17142 26 {
al@19818 27 case $PACKAGE in
al@19818 28 libnxml)
al@19818 29 copy @std
al@19818 30 DEPENDS="libcurl"
al@19818 31 ;;
al@19818 32 *-dev)
al@19818 33 copy @dev
al@19818 34 DEPENDS="libnxml curl-dev openssl-dev zlib-dev"
al@19818 35 ;;
al@19818 36 esac
tcg@17142 37 }