wok annotate xerces-c/receipt @ rev 4261

lostirc: fix build with gcc-4.x
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 25 12:08:50 2009 +0200 (2009-09-25)
parents
children 413b0174114a
rev   line source
rcx@3471 1 # SliTaz package receipt.
rcx@3471 2
rcx@3471 3 PACKAGE="xerces-c"
rcx@3471 4 VERSION="3.0.1"
rcx@3471 5 CATEGORY="development"
rcx@3471 6 SHORT_DESC="A validating XML parser written in a portable subset of C++."
rcx@3471 7 MAINTAINER="rcx@zoominternet.net"
rcx@3471 8 DEPENDS="glibc-base gcc-lib-base"
rcx@3471 9 BUILD_DEPENDS="slitaz-toolchain"
rcx@3471 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
rcx@3471 11 WEB_SITE="http://xerces.apache.org/"
rcx@3471 12 WGET_URL="http://www.apache.org/dist/xerces/c/3/sources/$TARBALL"
rcx@3471 13
rcx@3471 14 # Rules to configure and make the package.
rcx@3471 15 compile_rules()
rcx@3471 16 {
rcx@3471 17 cd $src
rcx@3471 18
rcx@3471 19 ./configure \
rcx@3471 20 --prefix=/usr \
rcx@3471 21 $CONFIGURE_ARGS &&
rcx@3471 22 make &&
rcx@3471 23 make DESTDIR=$src/_pkg install
rcx@3471 24 }
rcx@3471 25
rcx@3471 26 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3471 27 genpkg_rules()
rcx@3471 28 {
rcx@3471 29 mkdir -p $fs/usr/lib
rcx@3471 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
rcx@3471 31
rcx@3471 32 cp -a $_pkg/usr/bin $fs/usr
rcx@3471 33 }