wok-next diff libnxml/receipt @ rev 20177

Up sctp-tools (1.0.17), sg3_utils (1.42), squid (3.5.27), strigi (0.7.8), unixODBC (2.3.4), vcdimager (0.7.24)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 02 09:14:23 2017 +0100 (2017-11-02)
parents c711a8b94cb7
children 5841522533ec
line diff
     1.1 --- a/libnxml/receipt	Wed Sep 10 12:55:03 2014 +0200
     1.2 +++ b/libnxml/receipt	Thu Nov 02 09:14:23 2017 +0100
     1.3 @@ -1,17 +1,19 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libnxml"
     1.8  VERSION="0.18.3"
     1.9  CATEGORY="libs"
    1.10 -SHORT_DESC="nXML is a C library for parsing, writing and creating XML 1.0 and 1.1 files or streams."
    1.11 +SHORT_DESC="nXML is a C library for parsing, writing and creating XML 1.0 and \
    1.12 +1.1 files or streams"
    1.13  MAINTAINER="tcg.thegamer@gmail.com"
    1.14  LICENSE="LGPL2.1"
    1.15 -WEB_SITE="http://www.autistici.org/bakunin"
    1.16 +WEB_SITE="https://www.autistici.org/bakunin/libnxml/doc/"
    1.17 +
    1.18  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 -WGET_URL="${WEB_SITE}/${PACKAGE}/${TARBALL}"
    1.20 +WGET_URL="https://www.autistici.org/bakunin/libnxml/$TARBALL"
    1.21  
    1.22 -DEPENDS=""
    1.23 -BUILD_DEPENDS="libcurl curl-dev"
    1.24 +BUILD_DEPENDS="gfortran curl-dev"
    1.25 +SPLIT="libnxml-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29 @@ -22,6 +24,14 @@
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33 -	mkdir -p $fs/usr/lib
    1.34 -	cp -a $install/usr/lib/*so* $fs/usr/lib
    1.35 +	case $PACKAGE in
    1.36 +		libnxml)
    1.37 +			copy @std
    1.38 +			DEPENDS="libcurl"
    1.39 +			;;
    1.40 +		*-dev)
    1.41 +			copy @dev
    1.42 +			DEPENDS="libnxml curl-dev openssl-dev zlib-dev"
    1.43 +			;;
    1.44 +	esac
    1.45  }