#!/bin/sh
. ports/pre

pkg=curl
tarball=curl-8.4.0.tar.gz
tarball_dir=curl-8.4.0
url=https://curl.se/download/${tarball}

configure() {
	test -e $tarball_dir/configured && return
	(cd $tarball_dir && CFLAGS=-g ./configure \
		--host=x86_64-camellia \
		--without-ssl \
		--disable-threaded-resolver \
		--disable-ipv6 \
		--disable-tftp \
		'ac_cv_header_termios_h=no'
	)
	touch $tarball_dir/configured
}

. ports/post