From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: 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 Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/microcom/microcom/make.patch | 44 ++++++++++++++++++++++++++++++++++++ recipes/microcom/microcom_1.02.bb | 16 +++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 recipes/microcom/microcom/make.patch create mode 100644 recipes/microcom/microcom_1.02.bb (limited to 'recipes/microcom') diff --git a/recipes/microcom/microcom/make.patch b/recipes/microcom/microcom/make.patch new file mode 100644 index 0000000000..317619b2e5 --- /dev/null +++ b/recipes/microcom/microcom/make.patch @@ -0,0 +1,44 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- microcom-1.02-r0/Makefile~make ++++ microcom-1.02-r0/Makefile +@@ -18,20 +18,30 @@ + #** Rev. 0.9 - Sept. 1999 + #** Rev. 0.91 - Jan. 2000 - minor fixes, compiled under Mandrake 6.0 + #****************************************************************************/ ++CC = gcc ++CCLD = gcc ++LDFLAGS = ++CFLAGS = -W -Wall -O2 ++ + microcom: microcom.o mux.o script.o help.o autodet.o +- gcc -o microcom microcom.o mux.o script.o help.o autodet.o ++ $(CCLD) $(LDFLAGS) -o microcom microcom.o mux.o script.o help.o autodet.o + + autodet.o: autodet.c microcom.h +- gcc -O -c autodet.c ++ $(CC) $(CFLAGS) -O -c autodet.c + + script.o: script.c script.h microcom.h +- gcc -O -c script.c ++ $(CC) $(CFLAGS) -O -c script.c + + mux.o: mux.c microcom.h +- gcc -O -c mux.c ++ $(CC) $(CFLAGS) -O -c mux.c + + microcom.o: microcom.c microcom.h +- gcc -O -c microcom.c ++ $(CC) $(CFLAGS) -O -c microcom.c + + help.o: help.c microcom.h +- gcc -O -c help.c ++ $(CC) $(CFLAGS) -O -c help.c ++ ++clean: ++ rm -f *.o microcom ++ ++distclean: clean diff --git a/recipes/microcom/microcom_1.02.bb b/recipes/microcom/microcom_1.02.bb new file mode 100644 index 0000000000..a268eadc23 --- /dev/null +++ b/recipes/microcom/microcom_1.02.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "microcom is a small minicom-like serial terminal emulator with \ +scripting support." +LICENSE = "GPL" + +# http://microcom.port5.com/m102.tar.gz is no longer available +#NOTE: this should probably be converted to pull from sourceforge +# CVS, because openwrt is just another mirror of a file which no +# longer seems to exist outside mirrors. mirror magic. +SRC_URI = "http://downloads.openwrt.org/sources/m102.tar.gz \ + file://make.patch;patch=1" +S = "${WORKDIR}" + +do_install () { + install -d ${D}${bindir} + install -m 0755 microcom ${D}${bindir}/ +} -- cgit v1.2.3