#|/usr/bin/cygport # wget2.cygport - wget2 Cygwin packages build control script NAME=wget2 VERSION=1.99.2 RELEASE=1 CATEGORY=Net SUMMARY="fast multithreaded file and recursive website downloader" DESCRIPTION="fast multithreaded file and recursive website downloader using HTTP2, HTTP compression, parallel connections, and If-Modified-Since HTTP headers. The library libwget provides the basic functions needed by a modern web client." HOMEPAGE=https://gitlab.com/gnuwget/wget2 SRC_URI=mirror://gnu/wget/$NAME-$VERSION.tar.gz PATCH_URI=configure-ac.patch REF_DOCS=https://gnuwget.gitlab.io/wget2/reference/ MAILING_LIST=https://savannah.gnu.org/mail/?group=wget BUG_TRACKER=https://gitlab.com/gnuwget/wget2/issues FUZZ_COVERAGE=https://gnuwget.gitlab.io/wget2/fuzz-coverage/ CYGCONF_ARGS=" --enable-shared --disable-static --without-gpgme-prefix --without-libiconv-prefix --without-libintl-prefix --with-brotlidec --with-bzip2 --with-gpgme --without-libhsts --with-libidn2 --without-libmicrohttpd --with-libnghttp2 --with-libpcre2 --with-libpsl --without-lzip --with-lzma --without-openssl --with-ssl=gnutls --with-zlib --with-zstd " DEPEND="gettext-devel libbrotli-devel libbz2-devel libgettextpo-devel" DEPEND+=" libgnutls-devel libgpgme-devel libiconv-devel libidn2-devel" DEPEND+=" libmetalink-devel libnettle-devel libnghttp2-devel" DEPEND+=" libpcre2-devel libpsl-devel liblzma-devel" DEPEND+=" libzstd-devel zlib-devel" DEPEND+=" gcc-core binutils autoconf autogen automake coreutils" DEPEND+=" doxygen flex pkg-config python rsync tar texinfo" # libntlm does not get included # libssl build does no work # lcov libhsts libmicrohttpd libwolfssl pandoc N/A BUILD_REQUIRES="$DEPEND" PKG_NAMES="$NAME libwget0 libwget-devel" libwget0_CATEGORY="$CATEGORY Libs" libwget0_SUMMARY="modern web client library (runtime)" libwget0_CONTENTS=" usr/bin/cygwget-0.dll usr/share/doc/libwget/COPYING.LESSER usr/share/doc/wget2/AUTHORS usr/share/doc/wget2/ChangeLog usr/share/doc/wget2/NEWS usr/share/doc/wget2/README usr/share/doc/wget2/readme.md " #libwget0_REQUIRES="libbrotlidec1 libbz2_1 libgettextpo libgnutls libgpgme" #libwget0_REQUIRES+=" libiconv2 libidn2_0 libintl8 liblzma5 libmetalink" #libwget0_REQUIRES+=" libnettle6 libnghttp2_14 libpcre2 libpsl5 libzstd1 zlib0" # libhsts libmicrohttpd libwolfssl N/A libwget_devel_CATEGORY="$CATEGORY Devel Libs" libwget_devel_SUMMARY="modern web client library (development)" libwget_devel_CONTENTS=" usr/include/wget*.h usr/lib/libwget.dll.a usr/lib/pkgconfig/libwget.pc usr/share/man/man3/*.3* usr/share/doc/libwget/ABOUT-NLS usr/share/doc/libwget/examples/*.c usr/share/doc/libwget/examples/Makefile usr/share/doc/libwget/html/ " wget2_CONTENTS=" usr/bin/wget2.exe usr/share/doc/wget2/COPYING usr/share/doc/wget2/wget2.md usr/share/info/*.info* usr/share/locale/ usr/share/man/man1/*.1* " PKG_IGNORE=usr/bin/wget2_noinstall.exe src_install () { cd $B dodoc $S/docs/wget2.md doinfo $S/docs/wget2.info doman $S/docs/man/man1/*.1* docinto /libwget dodoc $S/ABOUT-NLS dodoc $S/COPYING.LESSER docinto /libwget/html dodoc docs/html/* docinto /libwget/examples dodoc $S/examples/*.c examples/Makefile cyginstall } # SPDX-License-Identifier: L/GPL-3.0-or-later libwget_LICENSE="LGPLv3+" libwget_LICENSE_SPDX="SPDX-License-Identifier: LGPL-3.0-or-later" libwget_LICENSE_URI="COPYING.LESSER" wget2_LICENSE="GPLv3+" wget2_LICENSE_SPDX="SPDX-License-Identifier: GPL-3.0-or-later" wget2_LICENSE_URI="COPYING" CYGWIN_MAINTAINER=Brian%20Inglis CYGWIN_MAINTAINER_EMAIL=Brian.Inglis@SystematicSW.ab.ca GNU_MAINTAINER="GNU Wget2 List" GNU_MAINTAINER_EMAIL=bug-wget@gnu.org UPSTREAM_EMAIL=wget-dev@gnu.org SUBJECT="${OSTYPE^}%20Package%20$NAME%20$VERSION" MAILTO="mailto:$GNU_MAINTAINER_EMAIL,$UPSTREAM_EMAIL\ ?to=$GNU_MAINTAINER%20%3C$GNU_MAINTAINER_EMAIL%3E\ &to=$GNU_MAINTAINER%20%3C$UPSTREAM_EMAIL%3E\ &from=$CYGWIN_MAINTAINER%20%3C$CYGWIN_MAINTAINER_EMAIL%3E\ &subject=$SUBJECT&body=Hi%20$GNU_MAINTAINER,%20$SUBJECT"