wok annotate xerces-c/receipt @ rev 11571
libcddb: Compat: break build depends loop
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:18 2012 +0100 (2012-01-02) |
parents | bc51fc512c96 |
children | b7319995b37e |
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 |
slaxemulator@8987 | 18 ./configure && |
slaxemulator@6362 | 19 make -j 4 && |
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 } |