ports: curl

This commit is contained in:
Matheus
2024-06-09 19:33:34 -03:00
parent 88fa9e070a
commit f2eecc580b
2 changed files with 25 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
name=curl
revision=1
from_source=curl
imagedeps="base-devel"
hostdeps="xgcc xbinutils pkgconfig"
deps="mlibc openssl zlib"
build() {
cp -rpv ${source_dir}/* .
./configure --host=x86_64-astral --prefix=${prefix} --with-openssl --with-zlib --disable-ipv6
make -j ${parallelism}
}
package() {
make install DESTDIR=${dest_dir}
}
+9
View File
@@ -0,0 +1,9 @@
name=curl
version=8.8.0
source_method=tarball
tarball_url="https://github.com/curl/curl/releases/download/curl-8_8_0/curl-${version}.tar.xz"
tarball_sha512="9d2c0d3a0d8f6c31ba4fabe48f801910f886fde43dc198dc4213708d6967ed5e040a1bb7348aa1cb126577ee508a3ec36fe65256d027d861d6ffb70f6383967a"
hostdeps="autoconf automake pkgconfig libtool autoconf-archive"
regenerate() {
autoreconf -fvi
}