summaryrefslogtreecommitdiffstats
path: root/package/libiconv
diff options
context:
space:
mode:
Diffstat (limited to 'package/libiconv')
-rw-r--r--package/libiconv/Config.in7
-rw-r--r--package/libiconv/libiconv.mk18
2 files changed, 25 insertions, 0 deletions
diff --git a/package/libiconv/Config.in b/package/libiconv/Config.in
new file mode 100644
index 000000000..1dddd4f12
--- /dev/null
+++ b/package/libiconv/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBICONV
+ bool "libiconv"
+ default n
+ help
+ unicode conversion library
+
+ http://ftp.gnu.org/pub/gnu/libiconv
diff --git a/package/libiconv/libiconv.mk b/package/libiconv/libiconv.mk
new file mode 100644
index 000000000..28cd57ccb
--- /dev/null
+++ b/package/libiconv/libiconv.mk
@@ -0,0 +1,18 @@
+#############################################################
+#
+# libiconv
+#
+#############################################################
+LIBICONV_VERSION = 1.12
+LIBICONV_SOURCE = libiconv-$(LIBICONV_VERSION).tar.gz
+LIBICONV_SITE = http://ftp.gnu.org/pub/gnu/libiconv
+LIBICONV_AUTORECONF = NO
+LIBICONV_INSTALL_STAGING = YES
+LIBICONV_INSTALL_TARGET = YES
+
+LIBICONV_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+
+LIBICONV_DEPENDENCIES = uclibc
+
+$(eval $(call AUTOTARGETS,package,libiconv))
+