Merge oe-devel@oe-devel.bkbits.net:openembedded
authorRene Wagner <rw@handhelds.org>
Sun, 19 Dec 2004 14:48:05 +0000 (14:48 +0000)
committerRene Wagner <rw@handhelds.org>
Sun, 19 Dec 2004 14:48:05 +0000 (14:48 +0000)
into sugarcube.dyndns.org:/home2/oe/bakery/openembedded

2004/12/19 15:46:46+01:00 dyndns.org!oe
hugs: add .desktop and icon

BKrev: 41c594a5LUhdHfIRzZxBXu8aprJ7bg

packages/hugs/files/hugs.desktop [new file with mode: 0644]
packages/hugs/files/hugs.png [new file with mode: 0644]
packages/hugs/hugs_hugs98-Nov2003.bb

diff --git a/packages/hugs/files/hugs.desktop b/packages/hugs/files/hugs.desktop
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/hugs/files/hugs.png b/packages/hugs/files/hugs.png
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..cc249fc 100644 (file)
@@ -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 = "r1"
+
+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 = "--enable-debug --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/
+}