wok-next view xmlrpc-c/receipt @ rev 20461

Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Mar 04 04:56:40 2018 +0200 (2018-03-04)
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 }