Browse Source

gnurl: reduce feature-set to match specs in README

gnurl's README states quite excatly which CONFIGURE_ARGS to pass,
so disable lots of unneeded stuff.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 10 years ago
parent
commit
6bbdfa55df
1 changed files with 30 additions and 13 deletions
  1. +30
    -13
      net/gnurl/Makefile

+ 30
- 13
net/gnurl/Makefile View File

@ -42,34 +42,51 @@ define Package/libgnurl
$(call Package/gnurl/Default) $(call Package/gnurl/Default)
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
DEPENDS:=+libgnutls +libidn
DEPENDS:=+libgnutls +libidn +zlib
TITLE:=A client-side HTTP/HTTPS transfer library TITLE:=A client-side HTTP/HTTPS transfer library
endef endef
TARGET_CFLAGS += $(FPIC) TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--disable-debug \
--disable-ares \
$(call autoconf_bool,CONFIG_IPV6,ipv6) \ $(call autoconf_bool,CONFIG_IPV6,ipv6) \
--enable-shared \
--enable-static \
--disable-manual \
--disable-ldap \
--disable-ldaps \
--with-gnutls="$(STAGING_DIR)/usr" \ --with-gnutls="$(STAGING_DIR)/usr" \
--with-ipv6 \
--with-libidn="$(STAGING_DIR)/usr" \ --with-libidn="$(STAGING_DIR)/usr" \
--with-zlib="$(STAGING_DIR)/usr" \
--enable-tls-srp \
--enable-shared \
--enable-static \
--without-axtls \ --without-axtls \
--without-ca-bundle \
--without-ca-path \
--without-cyassl \
--without-libssh2 \
--without-libmetalink \ --without-libmetalink \
--without-winidn \
--without-librtmp \ --without-librtmp \
--without-nghttp2 \
--without-nss \ --without-nss \
--without-cyassl \
--without-polarssl \ --without-polarssl \
--without-ssl \ --without-ssl \
--without-zlib
--without-winssl \
--without-darwinssl \
--disable-ares \
--disable-sspi \
--disable-ntlm-wb \
--disable-ldap \
--disable-ldaps \
--disable-rtsp \
--disable-dict \
--disable-telnet \
--disable-tftp \
--disable-pop3 \
--disable-imap \
--disable-smtp \
--disable-gopher \
--disable-file \
--disable-ftp \
--disable-smb \
--disable-debug \
--disable-manual \
--disable-verbose
define Build/Compile define Build/Compile
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \


Loading…
Cancel
Save