wok-current annotate xerces-c/receipt @ rev 6896
Add vde2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 22 16:48:04 2010 +0200 (2010-10-22) |
parents | 410630f6493d |
children | 3e5f4a16c6dd |
rev | line source |
---|---|
rcx@3471 | 1 # SliTaz package receipt. |
rcx@3471 | 2 |
rcx@3471 | 3 PACKAGE="xerces-c" |
slaxemulator@6362 | 4 VERSION="3.1.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" |
slaxemulator@6362 | 11 WEB_SITE="http://xerces.apache.org/xerces-c" |
slaxemulator@6362 | 12 WGET_URL="http://apache.osuosl.org/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 && |
slaxemulator@6362 | 22 make -j 4 && |
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 } |