curl (895B)
1 {%- set pkg_version="8.6.0" -%} 2 {%- set pkg_source="tar.xz" -%} 3 {% extends "autotools_static" %} 4 {% block package_deps -%} 5 #+{{pkg_install_name("libressl")}} 6 {% endblock %} 7 {% block configure %} 8 9 # Do not generate manpages (requires Perl) 10 ( 11 t=$(busybox which true) 12 for f in scripts/cd2nroff docs/cmdline-opts/*.pl; do 13 printf '#!%s\n' "$t" >$f 14 done 15 ) || exit $? 16 17 export LDFLAGS="--static" 18 autotools_config_static \ 19 --with-zlib \ 20 --enable-ipv6 \ 21 --enable-unix-sockets \ 22 --enable-static \ 23 --with-openssl \ 24 --disable-ldap \ 25 --enable-websockets \ 26 --without-libssh2 \ 27 --without-libpsl \ 28 --disable-manual 29 30 {% endblock %} 31 {% block install %} 32 {{ super() -}} 33 rm -r -v "$pthbs_destdir"'{{versions}}'"/$pthbs_package/man" 34 35 {% endblock %} 36 {% block check -%} 37 check_static command/curl 38 39 {% endblock %} 40 {% block genlinks_begin %} 41 x["./command/curl"]=1 42 x["./library/libcurl.a"]=1 43 {% endblock %}