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/gpe-calculator | |
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/gpe-calculator')
-rw-r--r-- | recipes/gpe-calculator/gpe-calculator-0.2/fix_makefile.patch | 47 | ||||
-rw-r--r-- | recipes/gpe-calculator/gpe-calculator_0.2.bb | 9 |
2 files changed, 56 insertions, 0 deletions
diff --git a/recipes/gpe-calculator/gpe-calculator-0.2/fix_makefile.patch b/recipes/gpe-calculator/gpe-calculator-0.2/fix_makefile.patch new file mode 100644 index 0000000000..b8c6d1a960 --- /dev/null +++ b/recipes/gpe-calculator/gpe-calculator-0.2/fix_makefile.patch @@ -0,0 +1,47 @@ +diff -urNd ../gpe-calculator-0.2-r0/gpe-calculator-0.2/Makefile gpe-calculator-0.2/Makefile +--- ../gpe-calculator-0.2-r0/gpe-calculator-0.2/Makefile 2004-08-03 04:24:09.000000000 +0100 ++++ gpe-calculator-0.2/Makefile 2004-08-03 13:12:48.000000000 +0100 +@@ -9,17 +9,17 @@ + GTKCFLAGS = `pkg-config --cflags gtk+-2.0` -DGTK_ENABLE_BROKEN + GTKLDFLAGS += `pkg-config --libs gtk+-2.0` + +-CPPFLAGS = -D_GNU_SOURCE ++PACKAGE_CPPFLAGS = -D_GNU_SOURCE + ifeq ($(DEBUG),yes) +-CFLAGS += -O2 -g +-LDFLAGS = -g #-lefence ++PACKAGE_CFLAGS += -O2 -g ++PACKAGE_LDFLAGS = -g #-lefence + else +-CFLAGS += -Os -fomit-frame-pointer ++PACKAGE_CFLAGS += -Os -fomit-frame-pointer + endif +-CFLAGS += -Wall $(GTKCFLAGS) +-LDFLAGS += $(GTKLDFLAGS) +-CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" -DPACKAGE_DATA_DIR=\"$(PREFIX)/share\" +-CFLAGS += -MD ++PACKAGE_CFLAGS += -Wall $(GTKCFLAGS) ++PACKAGE_LDFLAGS += $(GTKLDFLAGS) ++PACKAGE_CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" -DPACKAGE_DATA_DIR=\"$(PREFIX)/share\" ++PACKAGE_CFLAGS += -MD + + .SUFFIXES: .d + +@@ -36,14 +36,15 @@ + all: $(PACKAGE) + + $(PACKAGE): $(OBJS) +- $(CC) -o $@ $^ $(LDFLAGS) ++ $(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS) + + install-program: all + install -D $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) + install -D -m 644 $(PACKAGE).png $(DESTDIR)$(PREFIX)/share/pixmaps/$(PACKAGE).png + mkdir -p $(DESTDIR)$(PREFIX)/share/applications + install -m 644 $(PACKAGE).desktop $(DESTDIR)$(PREFIX)/share/applications +- strip $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) ++ mkdir -p $(DESTDIR)$(PREFIX)/bin ++ install -s $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) + + clean: + rm -f $(PACKAGE) $(OBJS) $(DEPS) diff --git a/recipes/gpe-calculator/gpe-calculator_0.2.bb b/recipes/gpe-calculator/gpe-calculator_0.2.bb new file mode 100644 index 0000000000..912d14ab73 --- /dev/null +++ b/recipes/gpe-calculator/gpe-calculator_0.2.bb @@ -0,0 +1,9 @@ +inherit gpe pkgconfig + +DESCRIPTION = "A scientific calculator" +DEPENDS = "gtk+ libgpewidget" +SECTION = "gpe" +PRIORITY = "optional" +LICENSE = "GPL" + +SRC_URI += "file://fix_makefile.patch;patch=1" |