aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/curl/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/curl/APKBUILD b/main/curl/APKBUILD
index 0b2f28e1d9..85a6fa946b 100644
--- a/main/curl/APKBUILD
+++ b/main/curl/APKBUILD
@@ -85,7 +85,7 @@ prepare() {
default_prepare
autoreconf -vfi
}
-
+
build() {
./configure \
--build=$CBUILD \
@@ -120,4 +120,11 @@ libcurl() {
mv "$pkgdir"/usr/lib "$subpkgdir"/usr
}
+static() {
+ pkgdesc="$pkgdesc (static library)"
+
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib
+}
+
sha512sums="aba2d979a416d14a0f0852d595665e49fc4f7bff3bee31f3a52b90ba9dc5ffdb09c092777f124215470b72c47ebca7ddb47844cbf5c0e9142099272b6ac55df4 curl-7.65.1.tar.xz"