diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-07-02 05:21:59 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-07-02 09:16:03 +0000 |
commit | fcaf5a3c6659292f7ea485f7bf967edf4198bed8 (patch) | |
tree | 1d8265ad8e50730b94d93b1f14c895f573048255 | |
parent | 7060d151c1b59afaa3cd89d227b27506fcc6c713 (diff) | |
download | aports-fcaf5a3c6659292f7ea485f7bf967edf4198bed8.tar.bz2 aports-fcaf5a3c6659292f7ea485f7bf967edf4198bed8.tar.xz |
main/curl: define static() for older stable versions
-rw-r--r-- | main/curl/APKBUILD | 9 |
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" |