wok-next annotate xerces-c/receipt @ rev 12454
hydra: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 21 20:44:38 2012 +0200 (2012-04-21) |
parents | 3e5f4a16c6dd |
children | eb8067417980 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6362 | 10 WEB_SITE="http://xerces.apache.org/xerces-c" |
slaxemulator@6362 | 11 WGET_URL="http://apache.osuosl.org/xerces/c/3/sources/$TARBALL" |
rcx@3471 | 12 |
rcx@3471 | 13 # Rules to configure and make the package. |
rcx@3471 | 14 compile_rules() |
rcx@3471 | 15 { |
rcx@3471 | 16 cd $src |
rcx@3471 | 17 |
gokhlayeh@11573 | 18 ./configure $CONFIGURE_ARGS && |
gokhlayeh@11573 | 19 make $MAKEFLAGS && |
slaxemulator@8987 | 20 make install |
rcx@3471 | 21 } |
rcx@3471 | 22 |
rcx@3471 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3471 | 24 genpkg_rules() |
rcx@3471 | 25 { |
rcx@3471 | 26 mkdir -p $fs/usr/lib |
rcx@3471 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3471 | 28 |
rcx@3471 | 29 cp -a $_pkg/usr/bin $fs/usr |
rcx@3471 | 30 } |