wok-6.x view gsoap/receipt @ rev 24415
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 18:04:02 2022 +0000 (2022-02-10) |
parents | dcecdc6db0c8 |
children | 20808bfd01be |
line source
1 # SliTaz package receipt.
3 PACKAGE="gsoap"
4 VERSION="2.8.98"
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 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 # patch --input=$stuff/gsoap-2.8.81-configure.patch configure
30 ./configure \
31 CXXFLAGS=-fPIC \
32 CFLAGS=-fPIC \
33 LDFLAGS=-fPIC \
34 $CONFIGURE_ARGS &&
35 make -j1 &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/gsoap $fs/usr/share
47 }