wok-6.x annotate xmlrpc-c/receipt @ rev 15355

notecase: add CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 30 20:23:31 2013 +0000 (2013-09-30)
parents f592d093c63e
children 23c3aed67cd9
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@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 }