smlinux/base/curl/curl.SMBuild
SMLinux 2f32197590 -> Overhauled build files in base. Almost all variable names in all build files are now in lower case to
prevent accidents with the general build environment. More changes in the build system and other section
   build files to follow.
-> Fixed library path in base/libical build file to prevent creation of lib64 directory
-> Fixed code that searches for an SMBuild file inside a package installer when installing from a package
   using base/pkgtools's installpkg script
-> Added a missing brace in base/findutils build file
-> Upgraded base/ntfs-3g to 2021.8.22
-> Temporarily removed rm -f command used to discard man pages in base/openssl build file
-> Added if/else check in base/rust build file to only extract rust toolchain in the absence of
   rust installation on the system
-> Upgraded base/syssstat to 12.5.5
2022-02-13 13:46:58 +05:30

46 lines
1,002 B
Text
Executable file

app=curl
version=7.77.0
build=1sml
homepage='https://curl.se/'
download='https://curl.se/download/curl-7.77.0.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="
aef92a0e3f8ce8491b258a9a1c4dcea3c07c29b139a1f68f08619caa0295cfde76335d2dfb9cdf434525daea7dd05d8acd22f203f5ccc7735bd317964ec1da76 curl-7.77.0.tar.xz
"