diff options
author | Angelo Arrifano <miknix@gentoo.org> | 2009-07-06 19:31:04 +0000 |
---|---|---|
committer | Angelo Arrifano <miknix@gentoo.org> | 2009-07-06 19:31:04 +0000 |
commit | 48e78f8ec12000f4f5c11aa93f5f2d8fc9b7196d (patch) | |
tree | 52467d44aae0295fcbdc7644cb410aab6a14cab5 /gpe-base/gpe-calculator | |
parent | Automated update of use.local.desc (diff) | |
download | historical-48e78f8ec12000f4f5c11aa93f5f2d8fc9b7196d.tar.gz historical-48e78f8ec12000f4f5c11aa93f5f2d8fc9b7196d.tar.bz2 historical-48e78f8ec12000f4f5c11aa93f5f2d8fc9b7196d.zip |
Initial commit, imported from GPE overlay and based on bug 101393 .
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'gpe-base/gpe-calculator')
-rw-r--r-- | gpe-base/gpe-calculator/ChangeLog | 11 | ||||
-rw-r--r-- | gpe-base/gpe-calculator/Manifest | 5 | ||||
-rw-r--r-- | gpe-base/gpe-calculator/files/gpe-calculator-0.2-makefile-fix.patch | 47 | ||||
-rw-r--r-- | gpe-base/gpe-calculator/gpe-calculator-0.2.ebuild | 20 | ||||
-rw-r--r-- | gpe-base/gpe-calculator/metadata.xml | 8 |
5 files changed, 91 insertions, 0 deletions
diff --git a/gpe-base/gpe-calculator/ChangeLog b/gpe-base/gpe-calculator/ChangeLog new file mode 100644 index 000000000000..4233e06a0751 --- /dev/null +++ b/gpe-base/gpe-calculator/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for gpe-base/gpe-calculator +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gpe-base/gpe-calculator/ChangeLog,v 1.1 2009/07/06 19:31:03 miknix Exp $ + +*gpe-calculator-0.2 (06 Jul 2009) + + 06 Jul 2009; Angelo Arrifano <miknix@gentoo.org> + +files/gpe-calculator-0.2-makefile-fix.patch, +metadata.xml, + +gpe-calculator-0.2.ebuild: + Initial commit, imported from GPE overlay and based on #101393 . + diff --git a/gpe-base/gpe-calculator/Manifest b/gpe-base/gpe-calculator/Manifest new file mode 100644 index 000000000000..78cacfabf808 --- /dev/null +++ b/gpe-base/gpe-calculator/Manifest @@ -0,0 +1,5 @@ +AUX gpe-calculator-0.2-makefile-fix.patch 1751 RMD160 f666a369a887c4ab017bac883adea4f9d3794c9a SHA1 20c42d94f55f5072b841204b1798383fa8f0d951 SHA256 2a18a5aabd888448c3b663244068a1c306c41aebf83b12c9ae64a0e641a63d4d +DIST gpe-calculator-0.2.tar.gz 24544 RMD160 821e2c72be873e6c61aa1997fbed46160471935f SHA1 8eddd1c909063e7e1f80f07aacc2e2b50f12367f SHA256 e51bdbba46d7d6950c1f4d3139a167f4c823e403f8a53b30a16cea32c7d540dc +EBUILD gpe-calculator-0.2.ebuild 584 RMD160 cf180382b2f4f15b80ea9cd3452c690d526b06f8 SHA1 8e6ddd984fb7c3bbba1257081de10b725e8ed55f SHA256 8e0210e1ffd7bc7bb6727855a4bf9471e2e549b21b5763f0c35c65fe5544d551 +MISC ChangeLog 466 RMD160 05a8e0428ca6a0b927acd656cef1f85ee2891afa SHA1 35c08e87bc359870490fc11dd467a45f96a22850 SHA256 be6065980bcac1af76af20144910b419d5d768fef2e4bbd89b74b6f054c8cf72 +MISC metadata.xml 214 RMD160 bca5b2208a68a7a7a84355f818a615e04dcb3ca8 SHA1 d0f048fbc4c361e89505f6edb1ddda27bbc7d73e SHA256 7b5eab127a5e896980df3a9aa01494e608a8a701ae9c5478255bff89d46410af diff --git a/gpe-base/gpe-calculator/files/gpe-calculator-0.2-makefile-fix.patch b/gpe-base/gpe-calculator/files/gpe-calculator-0.2-makefile-fix.patch new file mode 100644 index 000000000000..07cb6f1778fc --- /dev/null +++ b/gpe-base/gpe-calculator/files/gpe-calculator-0.2-makefile-fix.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 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) + + clean: + rm -f $(PACKAGE) $(OBJS) $(DEPS) diff --git a/gpe-base/gpe-calculator/gpe-calculator-0.2.ebuild b/gpe-base/gpe-calculator/gpe-calculator-0.2.ebuild new file mode 100644 index 000000000000..8faa33c2d14c --- /dev/null +++ b/gpe-base/gpe-calculator/gpe-calculator-0.2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gpe-base/gpe-calculator/gpe-calculator-0.2.ebuild,v 1.1 2009/07/06 19:31:03 miknix Exp $ + +inherit eutils gpe + +DESCRIPTION="A scientific calculator for the GPE Palmtop Environment" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm ~amd64 ~x86" +IUSE="${IUSE}" +RDEPEND="gpe-base/libgpewidget" + +src_unpack() { + gpe_src_unpack + epatch "${FILESDIR}/${P}-makefile-fix.patch" + # NLS is broken + sed -i -e 's;include $(BUILD)/Makefile.translation;;' Makefile +} + diff --git a/gpe-base/gpe-calculator/metadata.xml b/gpe-base/gpe-calculator/metadata.xml new file mode 100644 index 000000000000..cb08cb1d4795 --- /dev/null +++ b/gpe-base/gpe-calculator/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gpe</herd> +<maintainer> + <email>gpe@gentoo.org</email> +</maintainer> +</pkgmetadata> |