web: automated code cleanup

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard 2021-01-19 19:34:21 +00:00
parent b72e75bec7
commit df9ea457e0
3 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ PKG_VERSION="7.74.0"
PKG_SHA256="999d5f2c403cf6e25d58319fdd596611e455dd195208746bc6e6d197a77e878b"
PKG_LICENSE="MIT"
PKG_SITE="http://curl.haxx.se"
PKG_URL="http://curl.haxx.se/download/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_URL="http://curl.haxx.se/download/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain zlib gnutls rtmpdump libidn2 nghttp2"
PKG_LONGDESC="Client and library for (HTTP, HTTPS, FTP, ...) transfers."
PKG_TOOLCHAIN="configure"
@ -72,8 +72,8 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_lib_rtmp_RTMP_Init=yes \
--with-nghttp2"
post_makeinstall_target() {
rm -rf $INSTALL/usr/share/zsh
rm -rf $INSTALL/usr/bin/curl-config
rm -rf ${INSTALL}/usr/share/zsh
rm -rf ${INSTALL}/usr/bin/curl-config
sed -e "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" -i $SYSROOT_PREFIX/usr/bin/curl-config
sed -e "s:\(['= ]\)/usr:\\1${SYSROOT_PREFIX}/usr:g" -i ${SYSROOT_PREFIX}/usr/bin/curl-config
}

View File

@ -7,7 +7,7 @@ PKG_VERSION="0.9.72"
PKG_SHA256="0ae825f8e0d7f41201fd44a0df1cf454c1cb0bc50fe9d59c26552260264c2ff8"
PKG_LICENSE="LGPLv2.1"
PKG_SITE="http://www.gnu.org/software/libmicrohttpd/"
PKG_URL="http://ftpmirror.gnu.org/libmicrohttpd/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_URL="http://ftpmirror.gnu.org/libmicrohttpd/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A small C library that is supposed to make it easy to run an HTTP server as part of another application."
@ -15,8 +15,8 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
--enable-static \
--disable-curl \
--disable-https \
--with-libgcrypt-prefix=$SYSROOT_PREFIX/usr"
--with-libgcrypt-prefix=${SYSROOT_PREFIX}/usr"
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
rm -rf ${INSTALL}/usr/bin
}

View File

@ -6,7 +6,7 @@ PKG_VERSION="1.42.0"
PKG_SHA256="c5a7f09020f31247d0d1609078a75efadeccb7e5b86fc2e4389189b1b431fe63"
PKG_LICENSE="MIT"
PKG_SITE="http://www.linuxfromscratch.org/blfs/view/cvs/basicnet/nghttp2.html"
PKG_URL="https://github.com/nghttp2/nghttp2/releases/download/v$PKG_VERSION/nghttp2-$PKG_VERSION.tar.xz"
PKG_URL="https://github.com/nghttp2/nghttp2/releases/download/v${PKG_VERSION}/nghttp2-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="nghttp2 is an implementation of HTTP/2 and its header compression algorithm, HPACK."
PKG_TOOLCHAIN="configure"