wok-4.x view xerces-c/receipt @ rev 3522

tazdev+tazpkg-web: Tiny fix and clean up
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 21 03:56:11 2009 +0200 (2009-06-21)
parents
children 413b0174114a
line source
1 # SliTaz package receipt.
3 PACKAGE="xerces-c"
4 VERSION="3.0.1"
5 CATEGORY="development"
6 SHORT_DESC="A validating XML parser written in a portable subset of C++."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base gcc-lib-base"
9 BUILD_DEPENDS="slitaz-toolchain"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://xerces.apache.org/"
12 WGET_URL="http://www.apache.org/dist/xerces/c/3/sources/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$src/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 }