wok-6.x annotate xerces-c/receipt @ rev 17108
qps: s/-O2/-Os/g
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Sep 01 17:36:26 2014 +0200 (2014-09-01) |
parents | b7319995b37e |
children | 16dea996b9a3 |
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@15579 | 8 LICENSE="Apache" |
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 |
pascal@15579 | 13 DEPENDS="glibc-base gcc-lib-base libcurl libcrypto icu" |
pascal@15579 | 14 |
rcx@3471 | 15 # Rules to configure and make the package. |
rcx@3471 | 16 compile_rules() |
rcx@3471 | 17 { |
rcx@3471 | 18 cd $src |
rcx@3471 | 19 |
gokhlayeh@11573 | 20 ./configure $CONFIGURE_ARGS && |
gokhlayeh@11573 | 21 make $MAKEFLAGS && |
slaxemulator@8987 | 22 make install |
rcx@3471 | 23 } |
rcx@3471 | 24 |
rcx@3471 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3471 | 26 genpkg_rules() |
rcx@3471 | 27 { |
rcx@3471 | 28 mkdir -p $fs/usr/lib |
pascal@15579 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15579 | 30 cp -a $install/usr/bin $fs/usr |
rcx@3471 | 31 } |