wok-current view gsoap/receipt @ rev 24796
Add f2c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 21 16:04:07 2022 +0000 (2022-03-21) |
parents | 932cd974e081 |
children | fc6443233c97 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gsoap"
4 VERSION="2.8.119"
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="https://www.genivia.com/dev.html"
11 SOURCE="gsoap2"
12 TARBALL="${PACKAGE}_${VERSION}.zip"
13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
15 DEPENDS="libssl zlib"
16 BUILD_DEPENDS="autoconf automake flex openssl-dev zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/gsoap2/files/ 2>/dev/null | \
22 sed '/scope="row/!d;/zip/!d;s|.*/gsoap_||;s|.zip.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 CXXFLAGS=-fPIC \
30 CFLAGS=-fPIC \
31 LDFLAGS=-fPIC \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
42 cook_copy_folders bin
43 cp -a $install/usr/share/gsoap $fs/usr/share
44 }