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

xmlrpc-c: create depend.mk files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 16:43:26 2013 +0000 (2013-08-14)
parents 137749e1bd77
children 18261f3e9666
line source
1 # SliTaz package receipt.
3 PACKAGE="xmlrpc-c"
4 VERSION="1.16.36"
5 CATEGORY="network"
6 SHORT_DESC="A lightweight RPC library based on XML and HTTP."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://xmlrpc-c.sourceforge.net/"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="gcc-lib-base"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 find -name 'Makefile*' | sed 's/Makefile.*/depend.mk/' | \
19 xargs touch -d 197001010000
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }