wok-next view gsoap/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | e6615350078d |
children | d2950281f122 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gsoap"
4 VERSION="2.8.7"
5 CATEGORY="network"
6 SHORT_DESC="XML language binding to develop SOAP/XML services in C/C++"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.cs.fsu.edu/~engelen/soap.html"
11 TARBALL="${PACKAGE}_${VERSION}.zip"
12 WGET_URL="$SF_MIRROR/gsoap2/$TARBALL"
14 BUILD_DEPENDS="autoconf automake openssl-dev zlib-dev flex"
15 SPLIT="gsoap-dev"
17 compile_rules() {
18 sed -i 's/aclocal-.{am__api_version}/aclocal/' configure
19 sed -i 's/automake-.{am__api_version}/automake/' configure
20 CXXFLAGS=-fPIC \
21 CFLAGS=-fPIC \
22 LDFLAGS=-fPIC \
23 ./configure \
24 $CONFIGURE_ARGS &&
25 make -j1 && make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 gsoap)
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/gsoap $fs/usr/share
34 DEPENDS="openssl zlib"
35 ;;
36 *-dev)
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/include $fs/usr
39 cp -a $install/usr/lib/*.*a $fs/usr/lib
40 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
41 ;;
42 esac
43 }