mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
Merge pull request #3710 from antonlacon/assorted-fixes
cleanup: curl, edid-decode
This commit is contained in:
commit
772890643e
@ -11,8 +11,8 @@ PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Decode EDID data in human-readable format"
|
||||
|
||||
make_target() {
|
||||
echo "$CC $CFLAGS -Wall $LDFLAGS -lm -o edid-decode edid-decode.c"
|
||||
$CC $CFLAGS -Wall $LDFLAGS -lm -o edid-decode edid-decode.c
|
||||
echo "$CC $CFLAGS -Wall $LDFLAGS -o edid-decode edid-decode.c -lm"
|
||||
$CC $CFLAGS -Wall $LDFLAGS -o edid-decode edid-decode.c -lm
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
|
@ -16,7 +16,7 @@ PKG_SHA256="f6c22074877f235aebc7c53057dbc7ee82358f8ae58bfb767e955c18c859a77a"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="http://curl.haxx.se"
|
||||
PKG_URL="http://curl.haxx.se/download/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain zlib gnutls rtmpdump nghttp2"
|
||||
PKG_DEPENDS_TARGET="toolchain zlib gnutls rtmpdump libidn2 nghttp2"
|
||||
PKG_LONGDESC="Client and library for (HTTP, HTTPS, FTP, ...) transfers."
|
||||
PKG_TOOLCHAIN="configure"
|
||||
|
||||
@ -65,23 +65,17 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_lib_rtmp_RTMP_Init=yes \
|
||||
--with-random=/dev/urandom \
|
||||
--with-gnutls \
|
||||
--without-ssl \
|
||||
--without-polarssl \
|
||||
--without-mbedtls \
|
||||
--without-nss \
|
||||
--with-ca-bundle=/run/libreelec/cacert.pem \
|
||||
--without-ca-path \
|
||||
--without-libpsl \
|
||||
--without-libmetalink \
|
||||
--without-libssh2 \
|
||||
--with-librtmp=$SYSROOT_PREFIX/usr \
|
||||
--without-libidn \
|
||||
--without-libidn2 \
|
||||
--with-librtmp \
|
||||
--with-libidn2 \
|
||||
--with-nghttp2"
|
||||
|
||||
pre_configure_target() {
|
||||
# link against librt because of undefined reference to 'clock_gettime'
|
||||
export LIBS="-lrt -lm -lrtmp"
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf $INSTALL/usr/share/zsh
|
||||
rm -rf $INSTALL/usr/bin/curl-config
|
||||
|
Loading…
x
Reference in New Issue
Block a user