diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/regina-rexx | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/regina-rexx')
-rw-r--r-- | recipes/regina-rexx/files/use-proper-host-tools.patch | 48 | ||||
-rw-r--r-- | recipes/regina-rexx/regina-rexx-native_3.3.bb | 12 | ||||
-rw-r--r-- | recipes/regina-rexx/regina-rexx_3.3.bb | 32 |
3 files changed, 92 insertions, 0 deletions
diff --git a/recipes/regina-rexx/files/use-proper-host-tools.patch b/recipes/regina-rexx/files/use-proper-host-tools.patch new file mode 100644 index 0000000000..cd0dafcab8 --- /dev/null +++ b/recipes/regina-rexx/files/use-proper-host-tools.patch @@ -0,0 +1,48 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- regina-rexx-3.3-r0/Makefile.in~use-proper-host-tools.patch ++++ regina-rexx-3.3-r0/Makefile.in +@@ -321,8 +321,8 @@ + # Convert .mts to .mtb + # + $(MTBFILES): msgcmp$(EXE) $(MTSSRC) +- ./msgcmp $(MTSSRC) +- ./rexx $(srcdir)/checkmts.rexx $(srcdir) ++ $(STAGING_BINDIR_NATIVE)/msgcmp-multi-input $(MTSSRC) ++ $(STAGING_BINDIR_NATIVE)/rexx $(srcdir)/checkmts.rexx $(srcdir) + + msgcmp$(EXE): msgcmp.$(OBJ) + $(PURIFY) $(CC) $(LINKOPT) -o msgcmp$(EXE) msgcmp.$(OBJ) +@@ -919,22 +919,22 @@ + $(INSTALL) -m 644 -c ./de.mtb $(sharedir)/de.mtb + $(INSTALL) -m 644 -c ./es.mtb $(sharedir)/es.mtb + $(INSTALL) -m 644 -c ./pl.mtb $(sharedir)/pl.mtb +- $(bindir)/rexx $(srcdir)/preinst.rexx $(bindir)/rexx $(srcdir)/demo/rexxcps.rexx $(sharedir)/rexxcps.rexx ++ $(STAGING_BINDIR_NATIVE)/rexx $(srcdir)/preinst.rexx $(bindir)/rexx $(srcdir)/demo/rexxcps.rexx $(sharedir)/rexxcps.rexx + -chmod 755 $(sharedir)/rexxcps.rexx +- $(bindir)/rexx $(srcdir)/preinst.rexx $(bindir)/rexx $(srcdir)/demo/animal.rexx $(sharedir)/animal.rexx ++ $(STAGING_BINDIR_NATIVE)/rexx $(srcdir)/preinst.rexx $(bindir)/rexx $(srcdir)/demo/animal.rexx $(sharedir)/animal.rexx + -chmod 755 $(sharedir)/animal.rexx +- $(bindir)/rexx $(srcdir)/preinst.rexx $(bindir)/rexx $(srcdir)/demo/block.rexx $(sharedir)/block.rexx ++ $(STAGING_BINDIR_NATIVE)/rexx $(srcdir)/preinst.rexx $(bindir)/rexx $(srcdir)/demo/block.rexx $(sharedir)/block.rexx + -chmod 755 $(sharedir)/block.rexx +- $(bindir)/rexx $(srcdir)/preinst.rexx $(bindir)/rexx $(srcdir)/demo/dateconv.rexx $(sharedir)/dateconv.rexx ++ $(STAGING_BINDIR_NATIVE)/rexx $(srcdir)/preinst.rexx $(bindir)/rexx $(srcdir)/demo/dateconv.rexx $(sharedir)/dateconv.rexx + -chmod 755 $(sharedir)/dateconv.rexx +- $(bindir)/rexx $(srcdir)/preinst.rexx $(bindir)/rexx $(srcdir)/demo/timeconv.rexx $(sharedir)/timeconv.rexx ++ $(STAGING_BINDIR_NATIVE)/rexx $(srcdir)/preinst.rexx $(bindir)/rexx $(srcdir)/demo/timeconv.rexx $(sharedir)/timeconv.rexx + -chmod 755 $(sharedir)/timeconv.rexx +- $(bindir)/rexx $(srcdir)/preinst.rexx $(bindir)/rexx $(srcdir)/demo/newstr.rexx $(sharedir)/newstr.rexx ++ $(STAGING_BINDIR_NATIVE)/rexx $(srcdir)/preinst.rexx $(bindir)/rexx $(srcdir)/demo/newstr.rexx $(sharedir)/newstr.rexx + -chmod 755 $(sharedir)/newstr.rexx + + installregina: + $(INSTALL) -m 755 -c ./regina$(EXE) $(bindir)/regina$(EXE) +- $(bindir)/rexx $(srcdir)/preinst.rexx $(bindir)/regina $(srcdir)/demo/dynfunc.rexx $(sharedir)/dynfunc.rexx ++ $(STAGING_BINDIR_NATIVE)/rexx $(srcdir)/preinst.rexx $(bindir)/regina $(srcdir)/demo/dynfunc.rexx $(sharedir)/dynfunc.rexx + -chmod 755 $(sharedir)/dynfunc.rexx + + installlib: installregina diff --git a/recipes/regina-rexx/regina-rexx-native_3.3.bb b/recipes/regina-rexx/regina-rexx-native_3.3.bb new file mode 100644 index 0000000000..dda059de8f --- /dev/null +++ b/recipes/regina-rexx/regina-rexx-native_3.3.bb @@ -0,0 +1,12 @@ +require regina-rexx_${PV}.bb +inherit native +DEPENDS = "" + +do_compile() { + oe_runmake CEXTRA='-DREGINA_SHARE_DIRECTORY=\"$(sharedir)\"' +} + +do_stage_append() { + install -m 0644 ./msgcmp ${STAGING_BINDIR}/msgcmp-multi-input +} + diff --git a/recipes/regina-rexx/regina-rexx_3.3.bb b/recipes/regina-rexx/regina-rexx_3.3.bb new file mode 100644 index 0000000000..8634c7f89b --- /dev/null +++ b/recipes/regina-rexx/regina-rexx_3.3.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "A cross-platform REXX interpreter" +SECTION = "devel/rexx" +LICENSE = "GPL" +HOMEPAGE = "http://regina-rexx.sf.net" +DEPENDS = "regina-rexx-native" + +SRC_URI = "${SOURCEFORGE_MIRROR}/regina-rexx/regina33.zip \ + file://use-proper-host-tools.patch;patch=1" +S = "${WORKDIR}" + +inherit autotools + +PARALLEL_MAKE = "" + +# need to use configure script built by ancient autotools +do_configure() { + gnu-configize + oe_runconf +} + +do_compile() { + oe_runmake STAGING_BINDIR_NATIVE="${STAGING_BINDIR_NATIVE}" +} + +do_install() { + oe_runmake install bindir="${D}${bindir}" libdir="${D}${libdir}" includedir="${D}${includedir}" \ + sharedir="${D}${datadir}" mandir="${D}${mandir}" sysconfdir="${D}${sysconfdir}" \ + STAGING_BINDIR_NATIVE="${STAGING_BINDIR_NATIVE}" +} + +FILES_${PN} += "${datadir}" + |