wok-4.x annotate xerces-c/receipt @ rev 5316

Up: hal-info (2009-11-30)
author Dominique Corbex <domcox@slitaz.org>
date Wed Apr 21 18:30:38 2010 +0200 (2010-04-21)
parents 413b0174114a
children bc51fc512c96
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"
pascal@5032 8 DEPENDS="glibc-base gcc-lib-base libcurl libcrypto icu"
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 }