46 lines
1,004 B
Text
Executable file
46 lines
1,004 B
Text
Executable file
app=curl
|
|
version=7.84.0
|
|
build=1sml
|
|
homepage="https://curl.se/"
|
|
download="https://curl.se/download/curl-$version.tar.xz"
|
|
desc="Command line URL data transfer tool"
|
|
requires="zlib openssl brotli libssh2 libidn2 nghttp2 libunistring"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--sysconfdir=/etc \
|
|
--with-libssh2 \
|
|
--without-ca-bundle \
|
|
--with-ca-path=/etc/ssl/certs \
|
|
--with-openssl
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
( cd docs/libcurl
|
|
make install-man3 DESTDIR=$pkg
|
|
cd opts
|
|
make install-man3 DESTDIR=$pkg
|
|
)
|
|
|
|
# We don't ship the related perl script (yet):
|
|
rm -f $pkg/share/man/man1/mk-ca-bundle.1
|
|
|
|
strip -g $pkg/lib/libcurl.a
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
86231866a35593a1637fbc0c6af3b6761bdfd99fb35580cc52970c36f19604f93dce59fea67a1d5bb4b455f719307599c7916c77d14f2b661f6bf7fb1ca716ce curl-7.84.0.tar.xz
|
|
"
|