wok annotate xmlrpc-c/receipt @ rev 15921
linux: fix build for arm
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 18 22:42:59 2014 +0100 (2014-02-18) |
parents | 18261f3e9666 |
children | 7d672a2330b8 |
rev | line source |
---|---|
pascal@10821 | 1 # SliTaz package receipt. |
pascal@10821 | 2 |
pascal@10821 | 3 PACKAGE="xmlrpc-c" |
pascal@15109 | 4 VERSION="1.25.24" |
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@15601 | 8 LICENSE="BSD" |
pascal@10821 | 9 WEB_SITE="http://xmlrpc-c.sourceforge.net/" |
pascal@10821 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@10821 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15106 | 12 |
pascal@10821 | 13 DEPENDS="gcc-lib-base" |
pascal@10821 | 14 |
pascal@10821 | 15 # Rules to configure and make the package. |
pascal@10821 | 16 compile_rules() |
pascal@10821 | 17 { |
pascal@10821 | 18 cd $src |
pascal@15106 | 19 find -name 'Makefile*' | sed 's/Makefile.*/depend.mk/' | \ |
pascal@15106 | 20 xargs touch -d 197001010000 |
pascal@10821 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@10821 | 22 --mandir=/usr/share/man \ |
pascal@10821 | 23 $CONFIGURE_ARGS && |
pascal@10821 | 24 make && |
pascal@10821 | 25 make DESTDIR=$DESTDIR install |
pascal@10821 | 26 } |
pascal@10821 | 27 |
pascal@10821 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@10821 | 29 genpkg_rules() |
pascal@10821 | 30 { |
pascal@10821 | 31 mkdir -p $fs/usr/lib |
pascal@15106 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@10821 | 33 } |