wok-next annotate xmlrpc-c/receipt @ rev 20688

OpenSSL upgrade: 1.1.0g [2 Nov 2017] -> 1.1.0h [27 Mar 2018]
author Erkan Yilmaz <erkan@slitaz.org>
date Mon May 21 19:13:18 2018 +0000 (2018-05-21)
parents 93e703206ff4
children d5aab818505e
rev   line source
al@19978 1 # SliTaz package receipt v2.
pascal@10821 2
pascal@10821 3 PACKAGE="xmlrpc-c"
al@19978 4 VERSION="1.39.12"
pascal@10821 5 CATEGORY="network"
al@19978 6 SHORT_DESC="A lightweight RPC library based on XML and HTTP"
pascal@10821 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15601 8 LICENSE="BSD"
pascal@10821 9 WEB_SITE="http://xmlrpc-c.sourceforge.net/"
al@19978 10
pascal@10821 11 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@10821 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15106 13
al@19978 14 BUILD_DEPENDS="automake texinfo curl-dev libxml2-dev"
al@19978 15 SPLIT="xmlrpc-c-dev"
pascal@10821 16
al@19978 17 compile_rules() {
al@19978 18 # this file appeared later (with this content), but is absent when it required
al@19978 19 echo ' -Isrcdir/lib/curl_transport' > src/libxmlrpc_client.cflags
al@19978 20
al@19978 21 ./configure \
al@19978 22 --enable-libxml2-backend \
al@19978 23 --disable-cgi-server \
al@19978 24 --disable-libwww-client \
al@19978 25 --disable-wininet-client \
al@19978 26 --enable-cplusplus \
pascal@10821 27 $CONFIGURE_ARGS &&
pascal@16489 28 make -j 1 &&
pascal@10821 29 make DESTDIR=$DESTDIR install
pascal@10821 30 }
pascal@10821 31
al@19978 32 genpkg_rules() {
al@19978 33 case $PACKAGE in
al@19978 34 xmlrpc-c) copy @std;;
al@19978 35 *-dev) copy @dev;;
al@19978 36 esac
pascal@10821 37 }