wok annotate gsoap/receipt @ rev 25054
Up quarry (0.3.0.1), sunxi-tools (1.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 06 08:51:13 2022 +0000 (2022-06-06) |
parents | 20808bfd01be |
children | 4494a10c0027 |
rev | line source |
---|---|
slaxemulator@11025 | 1 # SliTaz package receipt. |
slaxemulator@11025 | 2 |
slaxemulator@11025 | 3 PACKAGE="gsoap" |
pascal@25047 | 4 VERSION="2.8.122" |
slaxemulator@11025 | 5 CATEGORY="network" |
Hans-G?nter@21007 | 6 SHORT_DESC="XML language binding to develop SOAP/XML services in C/C++." |
slaxemulator@11025 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15215 | 8 LICENSE="GPL2" |
Hans-G?nter@24630 | 9 WEB_SITE="https://www.genivia.com/dev.html" |
Hans-G?nter@21007 | 10 |
Hans-G?nter@21007 | 11 SOURCE="gsoap2" |
slaxemulator@11025 | 12 TARBALL="${PACKAGE}_${VERSION}.zip" |
Hans-G?nter@21007 | 13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
slaxemulator@11025 | 14 |
slaxemulator@11025 | 15 DEPENDS="libssl zlib" |
Hans-G?nter@22887 | 16 BUILD_DEPENDS="autoconf automake flex openssl-dev zlib-dev" |
slaxemulator@11025 | 17 |
pascal@24403 | 18 # What is the latest version available today? |
pascal@24403 | 19 current_version() |
pascal@24403 | 20 { |
pascal@24403 | 21 wget -O - https://sourceforge.net/projects/gsoap2/files/ 2>/dev/null | \ |
pascal@24403 | 22 sed '/scope="row/!d;/zip/!d;s|.*/gsoap_||;s|.zip.*||;q' |
pascal@24403 | 23 } |
pascal@24403 | 24 |
slaxemulator@11025 | 25 # Rules to configure and make the package. |
slaxemulator@11025 | 26 compile_rules() |
slaxemulator@11025 | 27 { |
Hans-G?nter@22887 | 28 ./configure \ |
Hans-G?nter@22887 | 29 CXXFLAGS=-fPIC \ |
Hans-G?nter@22887 | 30 CFLAGS=-fPIC \ |
Hans-G?nter@22887 | 31 LDFLAGS=-fPIC \ |
Hans-G?nter@22887 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@24630 | 33 make && |
Hans-G?nter@21007 | 34 make install |
slaxemulator@11025 | 35 } |
slaxemulator@11025 | 36 |
slaxemulator@11025 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11025 | 38 genpkg_rules() |
slaxemulator@11025 | 39 { |
Hans-G?nter@22887 | 40 mkdir -p $fs/usr/share |
Hans-G?nter@21007 | 41 |
Hans-G?nter@24630 | 42 cook_copy_folders bin |
Hans-G?nter@21007 | 43 cp -a $install/usr/share/gsoap $fs/usr/share |
slaxemulator@11025 | 44 } |