From 13984f725db156cbc952d0afe90f27da15a0b85d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 18 Feb 2020 12:56:22 -0500 Subject: Initial commit --- curl/build.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 curl/build.sh (limited to 'curl') diff --git a/curl/build.sh b/curl/build.sh new file mode 100644 index 0000000..a6b4562 --- /dev/null +++ b/curl/build.sh @@ -0,0 +1,32 @@ +#!/bin/bash +name=curl +version=7.66.0 +revision=0 +sources=( + "https://curl.haxx.se/download/${name}-${version}.tar.xz" +) +build_depends=( + "tar" + "xz" + "autoconf" + "automake" +) +depends=( + "libffi>=3.2.1" + "openssl==1.1.1d" +) + + +function prepare() { + tar xf ${name}-${version}.tar.xz + cd ${name}-${version} +} + +function build() { + ./configure --prefix=${_prefix} + make -j${_maxjobs} +} + +function package() { + make install DESTDIR="${_pkgdir}" +} -- cgit