wok-next view xmlrpc-c/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | fc0a0ab57dc4 |
children |
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="$PACKAGE-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 -j1 &&
29 make DESTDIR=$install install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 xmlrpc-c) copy @std;;
35 *-dev) copy @dev;;
36 esac
37 }