wok-next diff xmlrpc-c/receipt @ rev 20193
Up lirc (0.9.4d)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 11:10:36 2017 +0100 (2017-11-03) |
parents | 93e703206ff4 |
children | d5aab818505e |
line diff
1.1 --- a/xmlrpc-c/receipt Wed Apr 23 08:07:54 2014 +0000 1.2 +++ b/xmlrpc-c/receipt Fri Nov 03 11:10:36 2017 +0100 1.3 @@ -1,32 +1,37 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xmlrpc-c" 1.8 -VERSION="1.25.28" 1.9 +VERSION="1.39.12" 1.10 CATEGORY="network" 1.11 -SHORT_DESC="A lightweight RPC library based on XML and HTTP." 1.12 +SHORT_DESC="A lightweight RPC library based on XML and HTTP" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="BSD" 1.15 WEB_SITE="http://xmlrpc-c.sourceforge.net/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tgz" 1.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.19 -#HOST_ARCH="i486 arm" 1.20 1.21 -DEPENDS="gcc-lib-base" 1.22 +BUILD_DEPENDS="automake texinfo curl-dev libxml2-dev" 1.23 +SPLIT="xmlrpc-c-dev" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - find -name 'Makefile*' | sed 's/Makefile.*/depend.mk/' | \ 1.29 - xargs touch -d 197001010000 1.30 - ./configure --prefix=/usr \ 1.31 +compile_rules() { 1.32 + # this file appeared later (with this content), but is absent when it required 1.33 + echo ' -Isrcdir/lib/curl_transport' > src/libxmlrpc_client.cflags 1.34 + 1.35 + ./configure \ 1.36 + --enable-libxml2-backend \ 1.37 + --disable-cgi-server \ 1.38 + --disable-libwww-client \ 1.39 + --disable-wininet-client \ 1.40 + --enable-cplusplus \ 1.41 $CONFIGURE_ARGS && 1.42 make -j 1 && 1.43 make DESTDIR=$DESTDIR install 1.44 } 1.45 1.46 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.47 -genpkg_rules() 1.48 -{ 1.49 - mkdir -p $fs/usr/lib 1.50 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.51 +genpkg_rules() { 1.52 + case $PACKAGE in 1.53 + xmlrpc-c) copy @std;; 1.54 + *-dev) copy @dev;; 1.55 + esac 1.56 }