wok annotate 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
rev   line source
pascal@10821 1 # SliTaz package receipt.
pascal@10821 2
pascal@10821 3 PACKAGE="xmlrpc-c"
slaxemulator@11156 4 VERSION="1.16.36"
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@15106 11
pascal@10821 12 DEPENDS="gcc-lib-base"
pascal@10821 13
pascal@10821 14 # Rules to configure and make the package.
pascal@10821 15 compile_rules()
pascal@10821 16 {
pascal@10821 17 cd $src
pascal@15106 18 find -name 'Makefile*' | sed 's/Makefile.*/depend.mk/' | \
pascal@15106 19 xargs touch -d 197001010000
pascal@10821 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@10821 21 --mandir=/usr/share/man \
pascal@10821 22 $CONFIGURE_ARGS &&
pascal@10821 23 make &&
pascal@10821 24 make DESTDIR=$DESTDIR install
pascal@10821 25 }
pascal@10821 26
pascal@10821 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@10821 28 genpkg_rules()
pascal@10821 29 {
pascal@10821 30 mkdir -p $fs/usr/lib
pascal@15106 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@10821 32 }