Merge pull request #3710 from antonlacon/assorted-fixes

cleanup: curl, edid-decode
This commit is contained in:
MilhouseVH 2019-07-24 15:12:34 +01:00 committed by GitHub
commit 772890643e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 12 deletions

View File

@ -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() {

View File

@ -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