mrrl

Minimal Reliable Reproducible Linux
git clone https://ccx.te2000.cz/git/mrrl
Log | Files | Refs | Submodules | README

curl (925B)


      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 build_env_static
     19 autotools_config_static \
     20 	--with-zlib \
     21 	--enable-ipv6 \
     22 	--enable-unix-sockets \
     23 	--enable-static \
     24 	--with-openssl \
     25 	--disable-ldap \
     26 	--enable-websockets \
     27 	--without-libssh2 \
     28 	--without-libpsl \
     29 	--disable-manual
     30 
     31 {% endblock %}
     32 {% block install %}
     33 {{ super() -}}
     34 rm -r -v "$pthbs_destdir"'{{versions}}'"/$pthbs_package/{{mandir}}"
     35 
     36 {% endblock %}
     37 {% block check -%}
     38 check_static command/curl
     39 
     40 {% endblock %}
     41 {% block genlinks_begin %}
     42 	x["./{{bindir}}/curl"]=1
     43 	x["./{{libdir}}/libcurl.a"]=1
     44 {% endblock %}