wok-current annotate xmlrpc-c/receipt @ rev 10821
Add xmlrpc-c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 06 13:10:36 2011 +0200 (2011-06-06) |
parents | |
children | 137749e1bd77 |
rev | line source |
---|---|
pascal@10821 | 1 # SliTaz package receipt. |
pascal@10821 | 2 |
pascal@10821 | 3 PACKAGE="xmlrpc-c" |
pascal@10821 | 4 VERSION="1.16.35" |
pascal@10821 | 5 CATEGORY="network" |
pascal@10821 | 6 SHORT_DESC="A lightweight RPC library based on XML and HTTP." |
pascal@10821 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@10821 | 8 WEB_SITE="http://xmlrpc-c.sourceforge.net/" |
pascal@10821 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@10821 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@10821 | 11 DEPENDS="gcc-lib-base" |
pascal@10821 | 12 |
pascal@10821 | 13 # Rules to configure and make the package. |
pascal@10821 | 14 compile_rules() |
pascal@10821 | 15 { |
pascal@10821 | 16 cd $src |
pascal@10821 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@10821 | 18 --mandir=/usr/share/man \ |
pascal@10821 | 19 $CONFIGURE_ARGS && |
pascal@10821 | 20 make && |
pascal@10821 | 21 make DESTDIR=$DESTDIR install |
pascal@10821 | 22 } |
pascal@10821 | 23 |
pascal@10821 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@10821 | 25 genpkg_rules() |
pascal@10821 | 26 { |
pascal@10821 | 27 mkdir -p $fs/usr/lib |
pascal@10821 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@10821 | 29 } |