1. Barry Schwartz
  2. main

Commits

Barry Schwartz  committed 85edbd7

GNU libidn, and support for it in GNU wget

  • Participants
  • Parent commits 972d36c
  • Branches default

Comments (0)

Files changed (1)

File packages/gnu/wget/wget.exlib

View file
 SUMMARY="GNU wget: retrieves files using HTTP, HTTPS and FTP"
 LICENCES="GPL-3"
 
-MYOPTIONS="ssl"
+MYOPTIONS="
+    idn [[ description = [ Support Internationalized Domain Names ] ]]
+    ssl [[ description = [ Support SSL/TLS connections ] ]]
+"
 
 # FIXME: wget can be built with OpenSSL instead of GnuTLS. One day we might make that possible.
-# FIXME: optional dependencies such as libidn.
 DEPENDENCIES="
     build+run:
         pcre/pcre
         compression/zlib
+        idn? ( gnu/libidn )
         ssl? ( gnu/gnutls
                gnu/libgcrypt )
 "
 
 DEFAULT_SRC_CONFIGURE_PARAMS=( --with-zlib )
+DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( "idn iri" )
 DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( ssl )