summaryrefslogtreecommitdiff
path: root/repo/util/curl.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/curl.xibuild')
-rw-r--r--repo/util/curl.xibuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/repo/util/curl.xibuild b/repo/util/curl.xibuild
index b5da8e4..a3ce1d8 100644
--- a/repo/util/curl.xibuild
+++ b/repo/util/curl.xibuild
@@ -2,7 +2,8 @@
DEPS=(cacerts openssl zlib zstd libnghttp libpsl)
-SOURCE=https://curl.se/download/curl-7.80.0.tar.xz
+PKG_VER=7.80.0
+SOURCE=https://curl.se/download/curl-$PKG_VER.tar.xz
DESC="A utility for transfering files with URL syntax"
build () {
@@ -12,6 +13,8 @@ build () {
--enable-threaded-resolver \
--with-ca-path=/etc/ssl/certs &&
make
+}
+package () {
make DESTDIR=$PKG_DEST install
}