pthbs

Packaging Through Hashed Build Scripts
git clone https://ccx.te2000.cz/git/pthbs
Log | Files | Refs | Submodules | README

curl (842B)


      1 {% extends "autotools" %}
      2 {%- block extra_deps %}
      3 #+{{pkg_install_name("libressl")}}
      4 #@untar:-J:sha256:3ccd55d91af9516539df80625f818c734dc6f2ecf9bada33c76765e99121db15:.
      5 {%- endblock %}
      6 {% block at_script %}
      7 
      8 # Do not generate manpages (requires Perl)
      9 (
     10 	cd curl-8.6.0
     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_static curl-8.6.0 \
     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 check_static command/curl
     30 
     31 rm -r -v "$pthbs_destdir"'{{versions}}'"/$pthbs_package/man"
     32 
     33 {% endblock %}
     34 {% block genlinks_begin %}
     35 	x["./command/curl"]=1
     36 	x["./library/libcurl.a"]=1
     37 {% endblock %}