summaryrefslogtreecommitdiff
path: root/packages/recode
diff options
context:
space:
mode:
Diffstat (limited to 'packages/recode')
-rw-r--r--packages/recode/.mtn2git_empty0
-rw-r--r--packages/recode/recode_3.6.bb21
2 files changed, 21 insertions, 0 deletions
diff --git a/packages/recode/.mtn2git_empty b/packages/recode/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/recode/.mtn2git_empty
diff --git a/packages/recode/recode_3.6.bb b/packages/recode/recode_3.6.bb
index e69de29bb2..9e45bc6fcd 100644
--- a/packages/recode/recode_3.6.bb
+++ b/packages/recode/recode_3.6.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Charset converting utility"
+SECTION = "console/utils"
+LICENSE = "GPL"
+
+SRC_URI = "${GNU_MIRROR}/recode/recode-${PV}.tar.gz"
+
+inherit autotools
+
+do_configure() {
+ gnu-configize
+ oe_runconf
+ echo "#undef malloc" >>config.h
+ echo "#undef realloc" >>config.h
+}
+
+do_stage() {
+ install -m 0644 src/recode.h ${STAGING_INCDIR}/
+ install -m 0644 src/recodext.h ${STAGING_INCDIR}/
+ oe_libinstall -a -C src librecode ${STAGING_LIBDIR}/
+}
+