summaryrefslogtreecommitdiff
path: root/ports/curl/port
blob: befd017dd053336b1e4a8748f716bfec7ccd3b18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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