summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/Config.in1
-rw-r--r--package/libidn/Config.in6
-rw-r--r--package/libidn/libidn.mk14
3 files changed, 21 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 8085b21db..39f35169c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -77,6 +77,7 @@ source "package/libfloat/Config.in"
source "package/libgcrypt/Config.in"
source "package/libgpg-error/Config.in"
source "package/libiconv/Config.in"
+source "package/libidn/Config.in"
source "package/liblockfile/Config.in"
source "package/liboil/Config.in"
source "package/libsysfs/Config.in"
diff --git a/package/libidn/Config.in b/package/libidn/Config.in
new file mode 100644
index 000000000..d92185dfa
--- /dev/null
+++ b/package/libidn/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBIDN
+ bool "libidn"
+ help
+ http://www.gnu.org/software/libidn/
+ Libidn's purpose is to encode and decode internationalized domain names.
+
diff --git a/package/libidn/libidn.mk b/package/libidn/libidn.mk
new file mode 100644
index 000000000..e2d73f660
--- /dev/null
+++ b/package/libidn/libidn.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# libidn
+#
+#############################################################
+LIBIDN_VERSION = 1.9
+LIBIDN_SOURCE = libidn-$(LIBIDN_VERSION).tar.gz
+LIBIDN_SITE = http://ftp.gnu.org/gnu/libidn/
+LIBIDN_INSTALL_STAGING = YES
+LIBIDN_INSTALL_TARGET = YES
+LIBIDN_CONF_OPT = --enable-shared
+LIBIDN_DEPENDENCIES = uclibc pkgconfig gettext $(if $(BR2_PACKAGE_LIBICONV),libiconv)
+
+$(eval $(call AUTOTARGETS,package,libidn))