wok-next view xmlrpc-c/receipt @ rev 20308
libt4k_common: add libpng patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 10 15:39:54 2017 +0100 (2017-11-10) |
parents | 93e703206ff4 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xmlrpc-c"
4 VERSION="1.39.12"
5 CATEGORY="network"
6 SHORT_DESC="A lightweight RPC library based on XML and HTTP"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://xmlrpc-c.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="automake texinfo curl-dev libxml2-dev"
15 SPLIT="xmlrpc-c-dev"
17 compile_rules() {
18 # this file appeared later (with this content), but is absent when it required
19 echo ' -Isrcdir/lib/curl_transport' > src/libxmlrpc_client.cflags
21 ./configure \
22 --enable-libxml2-backend \
23 --disable-cgi-server \
24 --disable-libwww-client \
25 --disable-wininet-client \
26 --enable-cplusplus \
27 $CONFIGURE_ARGS &&
28 make -j 1 &&
29 make DESTDIR=$DESTDIR install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 xmlrpc-c) copy @std;;
35 *-dev) copy @dev;;
36 esac
37 }