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/hugs/files/hugs.desktop | 8 ++++++++ recipes/hugs/files/hugs.png | Bin 0 -> 439 bytes recipes/hugs/hugs_hugs98-Nov2003.bb | 31 +++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 recipes/hugs/files/hugs.desktop create mode 100644 recipes/hugs/files/hugs.png create mode 100644 recipes/hugs/hugs_hugs98-Nov2003.bb (limited to 'recipes/hugs') diff --git a/recipes/hugs/files/hugs.desktop b/recipes/hugs/files/hugs.desktop new file mode 100644 index 0000000000..1ff406394a --- /dev/null +++ b/recipes/hugs/files/hugs.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Hugs +Comment=Hugs Haskell interpreter +Exec=x-terminal-emulator -e hugs +Terminal=0 +Type=Application +Icon=hugs.png +Categories=Programming diff --git a/recipes/hugs/files/hugs.png b/recipes/hugs/files/hugs.png new file mode 100644 index 0000000000..340ec67ed2 Binary files /dev/null and b/recipes/hugs/files/hugs.png differ diff --git a/recipes/hugs/hugs_hugs98-Nov2003.bb b/recipes/hugs/hugs_hugs98-Nov2003.bb new file mode 100644 index 0000000000..0269e7c4cb --- /dev/null +++ b/recipes/hugs/hugs_hugs98-Nov2003.bb @@ -0,0 +1,31 @@ +DEPENDS = "readline" +SRC_URI = "http://cvs.haskell.org/Hugs/downloads/Nov2003/${PV}.tar.gz \ + file://hugs.desktop \ + file://hugs.png" +LICENSE = "BSD" +PR = "r2" + +S = "${WORKDIR}/${PV}/src/unix" + +inherit autotools + +# disable STRIP as the generated Makefile falsely call arm-linux-strip +# on compiling which leads to abortion of the compile +# we strip manually anyway so disabling it here is 'ok' +EXTRA_OECONF = "--disable-ffi STRIP=true" + +do_configure() { + oe_runconf +} + +do_compile() { + cd ../ && oe_runmake +} + +do_install() { + cd ../ && autotools_do_install + install -d ${D}${datadir}/applications/ + install -m 0644 ${WORKDIR}/hugs.desktop ${D}${datadir}/applications/ + install -d ${D}${datadir}/pixmaps/ + install -m 0644 ${WORKDIR}/hugs.png ${D}${datadir}/pixmaps/ +} -- cgit 1.2.3-korg