base/{busybox,enchant,fftw,kmod,llvm,musl} Replaced CFLAGS and related CFLAGS with += operator for cleanliness Fixed mkdir commands in: base/{exiv2,fmt,glib,json-glib} Fixed file/recompile_magic.mgc.sh script by discarding /usr in base/file build file Tuned build options in base/flac Discarded unnecessary CPPFLAGS and printf command in base/flex Replaced CFLAGS with LDFLAGS in base/gawk Discarded /usr/bin/update-mime-database with own /etc/rc.d.rc.gtk liner in base/glib's doinst.sh file Discarded CXXFLAGS liner in base/glib Discarded mkdir liner in base/initfs Cause base/llvm build file to properly cd into the smbuild directory smoothly when attempting a rebuild in future Discarded unnecessary CFLAGS options in base/mksh Upgraded base/zstd to 1.5.2, rewrote its build options to use cmake build system
50 lines
1.1 KiB
Text
Executable file
50 lines
1.1 KiB
Text
Executable file
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/share/man/man1/mk-ca-bundle.1
|
|
|
|
strip -g $pkg/lib/libcurl.a
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
f6cc99dd66d34392e149f99e97c4dfbcbd699e5bb104fa57d7c8be36547bd8c2ff0d64f76c806d1532632352a3251046a8fbbbdf91b5e1398061d38ffa7e0cda curl-7.88.1.tar.lz
|
|
"
|