package/libidn: Add a new package (required by later WebKits...)
authorDaniel Laird <danieljlaird@hotmail.com>
Tue, 13 Jan 2009 16:36:16 +0000 (16:36 -0000)
committerDaniel Laird <danieljlaird@hotmail.com>
Tue, 13 Jan 2009 16:36:16 +0000 (16:36 -0000)
GNU Libidn is a fully documented implementation of the Stringprep,
Punycode and IDNA specifications. Libidn's purpose is to encode
and decode internationalized domain names. The native C, C#
and Java libraries are available under
the GNU Lesser General Public License version 2.1 or later.

Not quite sure I've put it in the correct menu but it will work.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
package/Config.in
package/libidn/Config.in [new file with mode: 0644]
package/libidn/libidn.mk [new file with mode: 0644]

index 8085b21db5c80b761328149cb75789e209e68211..39f35169c7681a8f6de3cb3945626964ed85a2ea 100644 (file)
@@ -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 (file)
index 0000000..d92185d
--- /dev/null
@@ -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 (file)
index 0000000..e2d73f6
--- /dev/null
@@ -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))