wok-next view libnxml/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | 5841522533ec |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnxml"
4 VERSION="0.18.3"
5 CATEGORY="libs"
6 SHORT_DESC="Parsing, writing and creating XML 1.0 and 1.1 files or streams"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.autistici.org/bakunin/libnxml/doc/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.autistici.org/bakunin/libnxml/$TARBALL"
14 BUILD_DEPENDS="gfortran curl-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 libnxml)
27 copy @std
28 DEPENDS="libcurl"
29 ;;
30 *-dev)
31 copy @dev
32 DEPENDS="libnxml curl-dev openssl-dev zlib-dev"
33 ;;
34 esac
35 }