wok-next view xerces-c/receipt @ rev 8094

linux-module-headers: fix /usr/src/linux creation
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 22 18:04:51 2011 +0100 (2011-01-22)
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 }