From c8e5702127e507e82e6f68a4b8c546803accea9d Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 30 Jun 2005 08:19:37 +0000 Subject: import clean BK tree at cset 1.3670 --- packages/recode/.mtn2git_empty | 0 packages/recode/recode_3.6.bb | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 packages/recode/.mtn2git_empty (limited to 'packages/recode') diff --git a/packages/recode/.mtn2git_empty b/packages/recode/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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}/ +} + -- cgit v1.2.3