diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-18 12:56:22 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-18 12:56:22 -0500 |
commit | 13984f725db156cbc952d0afe90f27da15a0b85d (patch) | |
tree | b3a39b75ecaecca11ee1525a99153a7606e460cb /curl | |
download | spm_packages-13984f725db156cbc952d0afe90f27da15a0b85d.tar.gz |
Initial commit
Diffstat (limited to 'curl')
-rw-r--r-- | curl/build.sh | 32 |
1 files changed, 32 insertions, 0 deletions
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}" +} |