summaryrefslogtreecommitdiff
path: root/recipes/gkrellm
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/gkrellm
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (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/gkrellm')
-rw-r--r--recipes/gkrellm/gkrellm/destdir.patch24
-rw-r--r--recipes/gkrellm/gkrellm_2.2.10.bb24
2 files changed, 48 insertions, 0 deletions
diff --git a/recipes/gkrellm/gkrellm/destdir.patch b/recipes/gkrellm/gkrellm/destdir.patch
new file mode 100644
index 0000000000..3800fb7868
--- /dev/null
+++ b/recipes/gkrellm/gkrellm/destdir.patch
@@ -0,0 +1,24 @@
+diff -Naur gkrellm-2.2.7-orig/server/Makefile gkrellm-2.2.7/server/Makefile
+--- gkrellm-2.2.7-orig/server/Makefile 2004-04-12 15:30:48.000000000 +0200
++++ gkrellm-2.2.7/server/Makefile 2007-04-06 12:48:08.000000000 +0200
+@@ -129,7 +129,7 @@
+
+ install:
+ $(INSTALL) -d -m $(INSTALLDIRMODE) $(SINSTALLDIR)
+- $(INSTALL) -c $(STRIP) -m $(BINMODE) gkrellmd $(SINSTALLDIR)/$(PACKAGE_D)
++ $(INSTALL) -c $(STRIP) -m $(BINMODE) gkrellmd $(SINSTALLDIR)
+ $(INSTALL) -d -m $(INCLUDEDIRMODE) $(INCLUDEDIR)/gkrellm2
+ $(INSTALL) -c -m $(INCLUDEMODE) $(GKRELLMD_INCLUDES) $(INCLUDEDIR)/gkrellm2
+ $(INSTALL) -d -m $(MANDIRMODE) $(SMANDIR)
+diff -Naur gkrellm-2.2.7-orig/src/Makefile gkrellm-2.2.7/src/Makefile
+--- gkrellm-2.2.7-orig/src/Makefile 2005-05-09 18:54:03.000000000 +0200
++++ gkrellm-2.2.7/src/Makefile 2007-04-06 12:48:24.000000000 +0200
+@@ -144,7 +144,7 @@
+
+ install:
+ $(INSTALL) -d -m $(INSTALLDIRMODE) $(INSTALLDIR)
+- $(INSTALL) -c $(STRIP) -m $(BINMODE) gkrellm $(INSTALLDIR)/$(PACKAGE)
++ $(INSTALL) -c $(STRIP) -m $(BINMODE) gkrellm $(INSTALLDIR)
+ $(INSTALL) -d -m $(INCLUDEDIRMODE) $(INCLUDEDIR)/gkrellm2
+ $(INSTALL) -c -m $(INCLUDEMODE) $(GKRELLM_INCLUDES) $(INCLUDEDIR)/gkrellm2
+ $(INSTALL) -d -m $(MANDIRMODE) $(MANDIR)
diff --git a/recipes/gkrellm/gkrellm_2.2.10.bb b/recipes/gkrellm/gkrellm_2.2.10.bb
new file mode 100644
index 0000000000..ca13f4732e
--- /dev/null
+++ b/recipes/gkrellm/gkrellm_2.2.10.bb
@@ -0,0 +1,24 @@
+SECTION = "x11/utils"
+DESCRIPTION = "GKrellM is a GTK-based stacked monitor program."
+LICENSE = "GPL"
+DEPENDS = "gtk+ glib-2.0 libsm libice"
+
+SRC_URI = "http://members.dslextreme.com/users/billw/gkrellm/gkrellm-${PV}.tar.bz2 \
+ file://destdir.patch;patch=1"
+
+inherit pkgconfig
+
+EXTRA_OEMAKE = "'glib12=0' 'STRIP=/bin/true'"
+export LINK_FLAGS = "${LDFLAGS}"
+export SMC_LIBS = "-lSM -lICE"
+
+do_install () {
+ oe_runmake 'INSTALLDIR=${D}${bindir}' \
+ 'SINSTALLDIR=${D}${bindir}' \
+ 'MANDIR=${D}${mandir}/man1' \
+ 'SMANDIR=${D}${mandir}/man1' \
+ 'INCLUDEDIR=${D}${includedir}' \
+ 'PKGCONFIGDIR=${D}${libdir}/pkgconfig' \
+ 'LOCALEDIR=${D}${datadir}/locale' \
+ install
+}