wok view gsoap/receipt @ rev 25532
Add some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 10:46:05 2023 +0000 (20 months ago) |
parents | 20808bfd01be |
children | 4494a10c0027 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gsoap"
4 VERSION="2.8.122"
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 }