wok view xerces-c/receipt @ rev 7907
slitaz-configs-base: build as an independent package to avoid cook loops
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Jan 09 15:42:37 2011 +0100 (2011-01-09) |
parents | 410630f6493d |
children | 3e5f4a16c6dd |
line source
1 # SliTaz package receipt.
3 PACKAGE="xerces-c"
4 VERSION="3.1.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 libcurl libcrypto icu"
9 BUILD_DEPENDS="slitaz-toolchain"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://xerces.apache.org/xerces-c"
12 WGET_URL="http://apache.osuosl.org/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 -j 4 &&
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 }