smlinux/base/curl/curl.SMBuild
PktSurf 45e2c3bd44 Added ftjam, libptytty to base
Removed dmraid, iniparser, jam, libatasmart, libblockdev, libbytesize, libyaml, mozjs, ndctl, polkit, rpi-userland, sccache from base
Removed docdir, sysconfdir and prefix quotes from autoconf build option and similar options from various packages in base
Added apparch variables to base/{acpid,dmidecode,gnu-efi,pciutils,syslinux}
Added udev rules build option to base/alsa-utils
Discarded --offline option in base/cbindgen
Upgraded base/cmake to 3.26.4
Added --without-x build option to base/dialog
Upgraded base/gawk to 5.2.2
Upgraded base/glib to 2.76.3
Disabled tests and examples in base/gloox
Upgraded base/gnupg2 to 2.2.41
Upgraded base/gnutls to 3.8.0
Upgraded base/gpgme to 1.20.0
Fixed make command option ordering in base/{hdparm,p7zip}
Upgraded base/libgpg-error to 1.47
Upgraded base/libjpeg-turbo to 2.1.5.1
Upgraded base/libuv to 1.45.0
Discarded some build options to base/libxml2
Upgraded base/llvm to 15.0.7
Fixed subshell code in base/lua53
Removed --prefix= in several python package build files, added /usr as prefix in base/python3
Upgraded base/musl to 1.2.4
Upgraded base/nettle to 3.9
Upgraded base/nghttp2 to 1.53.0
Added --without-trust-paths to base/p11-kit
Upgraded base/qpdf to 11.4.0
Discarded base/rpi-userland
Upgraded base/rust to 1.69.0
Upgraded base/sqlite to 3420000
Added $CFLAGS to base/unzip
Added -fPIC option to base/yasm
Updated base build list
2023-06-04 21:53:45 +05:30

49 lines
1.1 KiB
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=curl
version=7.88.1
build=1sml
homepage="https://curl.se/"
download="https://github.com/curl/curl/releases/download/curl-7_88_1/curl-$version.tar.xz"
desc="Command line URL data transfer tool"
requires="zlib openssl brotli libssh2 libidn2 nghttp2 libunistring libpsl"
preservestaticlibs=1
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./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/usr/share/man/man1/mk-ca-bundle.1
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
f6cc99dd66d34392e149f99e97c4dfbcbd699e5bb104fa57d7c8be36547bd8c2ff0d64f76c806d1532632352a3251046a8fbbbdf91b5e1398061d38ffa7e0cda curl-7.88.1.tar.lz
"