Patchwork [meta-oe,3/3] mini-iconv: Add package recipe

login
register
mail settings
Submitter Khem Raj
Date June 26, 2012, 3:55 p.m.
Message ID <1340726124-30861-3-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/30661/
State Accepted
Commit 680af24d1ff95533db610176e6b01fcc9dcf6699
Headers show

Comments

Khem Raj - June 26, 2012, 3:55 p.m.
mini iconv can be used to replace GNU libiconv
it does not do all translation but it good for small
systems especially uclibc based

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-support/mini-iconv/mini-iconv.bb |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-support/mini-iconv/mini-iconv.bb

Patch

diff --git a/meta-oe/recipes-support/mini-iconv/mini-iconv.bb b/meta-oe/recipes-support/mini-iconv/mini-iconv.bb
new file mode 100644
index 0000000..7d5bc68
--- /dev/null
+++ b/meta-oe/recipes-support/mini-iconv/mini-iconv.bb
@@ -0,0 +1,21 @@ 
+# Copyright (C) 2012 Khem Raj <raj.khem@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "A minimal iconv implementation w/ support for UTF-8, ASCII, ISO-8859-1"
+HOMEPAGE = "http://tinderbox.dev.gentoo.org/portage/local/misc/mini-iconv/"
+LICENSE = "MPL-1.1"
+SECTION = "libs"
+DEPENDS = ""
+PROVIDES = "virtual/libiconv"
+PR = "r0"
+LIC_FILES_CHKSUM = "file://iconv.c;startline=1;endline=6;md5=35af9d9924327fe8a0a1fe3a2cb454c8"
+SRC_URI = "http://mirror.meleeweb.net/pub/linux/gentoo/distfiles/mini-iconv.tar.bz2"
+SRC_URI[md5sum] = "84412221e26505a2b3855d4a1cdcd0e0"
+SRC_URI[sha256sum] = "3552262bf1bcf8e859a2a3a7adfb0367af8593383e730c492e981477aac0a0d4"
+
+
+S = "${WORKDIR}/${PN}"
+
+do_install() {
+	oe_runmake install DESTDIR=${D} PREFIX=${prefix} LIB=${base_libdir}
+}