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

Tiny edits, patch ptlib
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 17 04:50:25 2018 +0200 (2018-03-17)
parents e6615350078d
children 9e5dca6702bf
line source
1 # SliTaz package receipt v2.
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 LICENSE="Apache"
9 WEB_SITE="http://xerces.apache.org/xerces-c"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://apache.osuosl.org/xerces/c/3/sources/$TARBALL"
14 SPLIT="xerces-c-dev"
16 compile_rules() {
17 ./configure $CONFIGURE_ARGS &&
18 make $MAKEFLAGS &&
19 make install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 xerces-c)
25 mkdir -p $fs/usr/lib
26 cp -a $install/usr/lib/*.so* $fs/usr/lib
27 cp -a $install/usr/bin $fs/usr
28 DEPENDS="glibc-base gcc-lib-base libcurl openssl icu"
29 ;;
30 *-dev)
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
33 cp -a $install/usr/lib/*.*a $fs/usr/lib
34 cp -a $install/usr/include $fs/usr
35 ;;
36 esac
37 }