wok-current view gsoap/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents fc6443233c97
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gsoap"
4 VERSION="2.8.127"
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 }