diff options
author | Angelo Arrifano <miknix@gentoo.org> | 2009-03-15 22:22:30 +0000 |
---|---|---|
committer | root <root@miranda.amd64.dev.gentoo.org> | 2009-03-15 22:22:30 +0000 |
commit | 1fbcb9353822a954236378bbce5d2710ecb30c1b (patch) | |
tree | 37da412033860fe524ea64a18d4bc7451cf2c73f /gpe-games | |
download | gpe-1fbcb9353822a954236378bbce5d2710ecb30c1b.tar.gz gpe-1fbcb9353822a954236378bbce5d2710ecb30c1b.tar.bz2 gpe-1fbcb9353822a954236378bbce5d2710ecb30c1b.zip |
Initial import.
Diffstat (limited to 'gpe-games')
26 files changed, 1166 insertions, 0 deletions
diff --git a/gpe-games/gpe-go/ChangeLog b/gpe-games/gpe-go/ChangeLog new file mode 100644 index 0000000..1e71410 --- /dev/null +++ b/gpe-games/gpe-go/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for gpe-games/gpe-go +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*gpe-go-0.05 (30 Nov 2008) + + 30 Nov 2008; miranda +files/fix-make.patch, +gpe-go-0.05.ebuild: + - Initial commit based on code from Rene Wagner + diff --git a/gpe-games/gpe-go/Manifest b/gpe-games/gpe-go/Manifest new file mode 100644 index 0000000..9af70ec --- /dev/null +++ b/gpe-games/gpe-go/Manifest @@ -0,0 +1,4 @@ +AUX fix-make.patch 8469 SHA1 e55f15d4d0f4304cd99b0c5fa89e7f1adce46b36 SHA256 b7c3075d4c28e02ee2edc706a8c9f875daa3ed26bb88aced7ee9424f3ff84d0c +DIST gpe-go-0.05.tar.gz 38173 SHA1 249daa05d9209107c9aff2be5d8a870db5847af9 SHA256 d6fdfd927c926145c488d099d6984c291218f898902bb9607ddef340201ae142 +EBUILD gpe-go-0.05.ebuild 434 SHA1 90120edc2f6121dde2871d2f1e3aedf932319278 SHA256 3e57e34b1801613f3ee710ae5bc633732d094e71cab8d3ad88f8744d993d7dde +MISC ChangeLog 263 SHA1 5bad2ceeb39cc773254fb42978982fecb6e286db SHA256 0d68346de72dfe4f84227efa85c5bcde8f916563e72b0aca668d7d5ab97614ea diff --git a/gpe-games/gpe-go/files/fix-make.patch b/gpe-games/gpe-go/files/fix-make.patch new file mode 100644 index 0000000..996c51e --- /dev/null +++ b/gpe-games/gpe-go/files/fix-make.patch @@ -0,0 +1,234 @@ +diff -urNd ../gpe-go-0.05-r0/gpe-go-0.05/build/Makefile.dpkg_ipkg gpe-go-0.05/build/Makefile.dpkg_ipkg +--- ../gpe-go-0.05-r0/gpe-go-0.05/build/Makefile.dpkg_ipkg 2003-11-09 20:28:40.000000000 +0000 ++++ gpe-go-0.05/build/Makefile.dpkg_ipkg 2004-09-18 17:09:01.000000000 +0100 +@@ -18,8 +18,10 @@ + LIBGPEWIDGET_PC = libgpewidget + endif + ++ifeq ($(IN_LIBGPEWIDGET),) + GPECFLAGS = $(shell $(PC_EXTRA) pkg-config --cflags $(LIBGPEWIDGET_PC)) + GPELIBS = $(shell $(PC_EXTRA) pkg-config --libs $(LIBGPEWIDGET_PC)) ++endif + + GTKCFLAGS = $(shell pkg-config --cflags gtk+-2.0) + GTKLIBS = $(shell pkg-config --libs gtk+-2.0) +@@ -28,16 +30,16 @@ + STANDARD_CFLAGS = -MD -Wall + + ifeq ($(DEBUG),yes) +-STANDARD_CFLAGS += -O2 -g +-STANDARD_LDFLAGS = -g ++CFLAGS += -O2 -g ++LDFLAGS = -g + else +-STANDARD_CFLAGS += -Os -fomit-frame-pointer ++CFLAGS += -Os -fomit-frame-pointer + endif + + dist: check-source clean dist-prep + rm -rf ../$(PACKAGE)-$(VERSION) + mkdir ../$(PACKAGE)-$(VERSION) +- ( tar cf - --exclude "*/CVS" --exclude CVS --exclude "*~" --exclude "#*#" --exclude "debian" --exclude ".*" --exclude "*.ipk" --exclude "*.ipk.*" --exclude "*.mo" --exclude "*.d" --exclude "*.batch" --exclude "translation-ipkgs.txt" * ) | (cd ../$(PACKAGE)-$(VERSION); tar xf -) ++ ( tar cf - --exclude "*/CVS" --exclude CVS --exclude "*~" --exclude "#*#" --exclude "debian" --exclude ".*" --exclude "*.ipk" --exclude "*.ipk.*" --exclude "*.mo" --exclude "*.batch" --exclude "translation-ipkgs.txt" * ) | (cd ../$(PACKAGE)-$(VERSION); tar xf -) + ( cd ../$(PACKAGE)-$(VERSION); mkdir build; cp $(BUILD)/Makefile.dpkg_ipkg $(BUILD)/Makefile.translation build/ ; sed 's:^CVSBUILD.*:CVSBUILD = no:' < Makefile > Makefile.new; mv Makefile.new Makefile ) + ( cd .. ; tar cf - $(PACKAGE)-$(VERSION) | gzip -9 >$(PACKAGE)-$(VERSION).tar.gz ) + rm -rf ../$(PACKAGE)-$(VERSION) +@@ -53,8 +55,13 @@ + + install: install-program install-mo + ++clean-dist: ++ rm -rf familiar/dist familiar/dist.list ++ ++clean: clean-dist ++ + check-source: +- @if ! grep -q '^Source:' familiar/$(CONTROL); then echo -e "\nNo Source: field in control file. Aborting.\n"; exit 1; fi ++ @if [ -e familiar ] && ! grep -q '^Source:' familiar/$(CONTROL); then echo -e "\nNo Source: field in control file. Aborting.\n"; exit 1; fi + + ipkg: check-source ipkg-prep clean + rm -rf familiar/dist +@@ -68,9 +75,9 @@ + $(MAKE) DESTDIR=`pwd`/familiar/dist PREFIX=/usr prefix=/usr DEBUG=no install-program + rm -rf familiar/dist.list + ipkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list +- rm -f + if [ "x$(LINGUAS)" != "x" ]; then make translation-ipkg; tr ' ' '\n' < translation-ipkgs.txt >> familiar/dist.list; fi + md5sum `cat familiar/dist.list` > $(PACKAGE)_$(VERSION).batch ++ rm -rf familiar/dist familiar/dist.list + $(MAKE) printinfo + + dpkg: dist +@@ -102,3 +109,6 @@ + + %.pc: %.pc.in + sed 's:PREFIX:$(PREFIX):;s:BUILDDIR:$(shell pwd):;s:VERSION:$(VERSION):' < $< > $@ ++ ++.c.o:; ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(PACKAGE_CFLAGS) $(PACKAGE_CPPFLAGS) -c $< -o $@ +diff -urNd ../gpe-go-0.05-r0/gpe-go-0.05/build/Makefile.translation gpe-go-0.05/build/Makefile.translation +--- ../gpe-go-0.05-r0/gpe-go-0.05/build/Makefile.translation 2003-11-09 20:28:40.000000000 +0000 ++++ gpe-go-0.05/build/Makefile.translation 2004-09-18 17:09:01.000000000 +0100 +@@ -5,7 +5,7 @@ + # use ipkg-build or ipkg-deb-build + IPKG_BUILD := ipkg-build + +-TRANSLATION_SITE := http://www.iro.umontreal.ca/~gnutra/maint/ ++TRANSLATION_SITE := http://www.iro.umontreal.ca/~gnutra/maint + + ifeq ($(DIR_PO),) + DIR_PO := po +@@ -56,7 +56,7 @@ + ( SOURCES="$(SOURCES)"; for DESK in $(PACKAGE).desktop.in $(EXTRA_DESKTOPS); do if [ -f $$DESK ]; then intltool-extract --type=gettext/ini $$DESK; SOURCES="$$SOURCES $${DESK}.h"; fi; done; if [ "x$$SOURCES" != "x" ]; then xgettext --add-comments=TRANSLATORS: -k_ -kN_ -o $(DIR_PO)/$(PACKAGE).pot.new $$SOURCES; fi ) + if [ -f $(DIR_PO)/$(PACKAGE).pot.new ]; then if cmp -s $(DIR_PO)/$(PACKAGE).pot.new $(PACKAGE).pot; then rm $(DIR_PO)/$(PACKAGE).pot.new; else mv $(DIR_PO)/$(PACKAGE).pot.new $(DIR_PO)/$(PACKAGE).pot; fi; fi + +-clean: clean-po ++clean: clean-po clean-dist-translation + + clean-po: + rm -rf $(DIR_PO)/*.mo +@@ -76,10 +76,17 @@ + + MAINTAINER = $(shell grep 'Maintainer: ' familiar/$(CONTROL) | cut -d ' ' -f 2-) + ++ifndef BUILD ++BUILD = ../build ++endif ++ + transdist := familiar/dist-translation +-templates := ../build/familiar ++templates := $(BUILD)/familiar + ipkglist := translation-ipkgs.txt + ++clean-dist-translation: ++ rm -rf $(transdist) $(ipkglist) ++ + real-translation-package: all-mo + rm -rf $(transdist) $(ipkglist) + for LINGUA in $(LINGUAS); do \ +@@ -89,8 +96,7 @@ + install -m 644 po/$$LINGUA.mo $(transdist)/$$i$(PREFIX)/share/locale/$$LINGUA/LC_MESSAGES/$(PACKAGE).mo; \ + sed -e "s/<maintainer>/$(MAINTAINER)/;s/<package>/$(BINPACKAGE)/;s/<version>/$(VERSION)/;s/<language>/$$i/;s!<source>!$(SOURCE)!" $(templates)/control.translation > $(transdist)/$$i/CONTROL/control; \ + install $(templates)/postinst.translation $(transdist)/$$i/CONTROL/postinst; \ +- chown -R root.root $(transdist)/$$i; \ +- $(IPKG_BUILD) $(transdist)/$$i | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> $(ipkglist); \ ++ $(IPKG_BUILD) -g 0 -o 0 $(transdist)/$$i | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> $(ipkglist); \ + done + + translation-ipkg: +diff -urNd ../gpe-go-0.05-r0/gpe-go-0.05/gpe-go.c gpe-go-0.05/gpe-go.c +--- ../gpe-go-0.05-r0/gpe-go-0.05/gpe-go.c 2003-11-09 19:38:50.000000000 +0000 ++++ gpe-go-0.05/gpe-go.c 2004-09-18 17:04:24.000000000 +0100 +@@ -16,12 +16,12 @@ + #include "sgf.h" + + //--GPE libs +-#include "gpe/init.h" +-#include "gpe/pixmaps.h" +-#include "gpe/errorbox.h" +-#include "gpe/question.h" +-#include "gpe/popup_menu.h" +-#include "gpe/picturebutton.h" ++#include <gpe/init.h> ++#include <gpe/pixmaps.h> ++#include <gpe/errorbox.h> ++#include <gpe/question.h> ++#include <gpe/popup_menu.h> ++#include <gpe/picturebutton.h> + + //--i18n + #include <libintl.h> +diff -urNd ../gpe-go-0.05-r0/gpe-go-0.05/Makefile gpe-go-0.05/Makefile +--- ../gpe-go-0.05-r0/gpe-go-0.05/Makefile 2003-11-09 20:28:40.000000000 +0000 ++++ gpe-go-0.05/Makefile 2004-09-18 17:11:06.000000000 +0100 +@@ -1,19 +1,8 @@ + VERSION = 0.05 +- + PACKAGE = gpe-go +- +-ifndef PREFIX +-PREFIX = /usr/local +-endif +- +-ifndef DEBUG ++PREFIX = /usr + DEBUG = no +-endif +- +-ifndef CVSBUILD + CVSBUILD = no +-endif +- + + LINGUAS = cs de pl ro sv nl fr pt ru + +@@ -21,40 +10,34 @@ + + PIXMAPS = board white.png black.png + +-GTKCFLAGS = `pkg-config --cflags gtk+-2.0` +-GTKLDFLAGS += `pkg-config --libs gtk+-2.0` ++GTKCFLAGS = `pkg-config --cflags gtk+-2.0` ++GTKLDFLAGS = `pkg-config --libs gtk+-2.0 gdk-2.0` + +-CPPFLAGS = $(GTKCFLAGS) -D_GNU_SOURCE +-ifeq ($(DEBUG),yes) +-CFLAGS += -O2 -g -DDEBUG=yes +-LDFLAGS += -g ++PACKAGE_CFLAGS += $(STANDARD_CFLAGS) $(GTKCFLAGS) $(GPECFLAGS) ++PACKAGE_CPPFLAGS += $(STANDARD_CPPFLAGS) -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" ++PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) $(GTKLDFLAGS) $(GPELIBS) ++ ++ifeq ($(CVSBUILD),yes) ++BUILD = ../build + else +-CFLAGS += -Os -fomit-frame-pointer ++BUILD = build + endif +-CFLAGS += -Wall -I../../base/libgpewidget +-CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" +-CFLAGS += -MD +- +-LDFLAGS += -L../../base/libgpewidget -lgpewidget +- +-.SUFFIXES: .d + + OBJS = $(patsubst %,%.o,$(MEMBERS)) +-DEPS = $(patsubst %,%.d,$(MEMBERS)) + SOURCES = $(patsubst %,%.c,$(MEMBERS)) ++DEPS = $(patsubst %,%.d,$(MEMBERS)) + + ifdef DESKTOP #environement variable to set if you want extra code included. +-CPPFLAGS += -DDESKTOP ++PACKAGE_CPPFLAGS += -DDESKTOP + endif + + all: $(PACKAGE) + + $(PACKAGE): $(OBJS) +- $(CC) -o $@ $^ $(GTKLDFLAGS) $(LDFLAGS) ++ $(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS) + + install-program: $(PACKAGE).desktop all +- install -D $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) +- strip $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) ++ install -D $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) + install -d $(DESTDIR)$(PREFIX)/share/pixmaps + install -m 644 $(PACKAGE).png $(DESTDIR)$(PREFIX)/share/pixmaps/ + install -d $(DESTDIR)$(PREFIX)/share/applications +@@ -69,15 +52,6 @@ + find . -name "*~" -exec rm -f {} \; + + +-#--include GPE generic Makefiles +-ifeq ($(CVSBUILD),yes) +-BUILD = ../../base/build +-else +-BUILD = build +-endif +- + include $(BUILD)/Makefile.dpkg_ipkg + include $(BUILD)/Makefile.translation +- +- + -include $(DEPS) diff --git a/gpe-games/gpe-go/gpe-go-0.05.ebuild b/gpe-games/gpe-go/gpe-go-0.05.ebuild new file mode 100644 index 0000000..34a6d87 --- /dev/null +++ b/gpe-games/gpe-go/gpe-go-0.05.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils gpe + +DESCRIPTION="A Go Board for the GPE Palmtop Environment" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm ~amd64 ~x86" + +GPE_DOCS="NEWS" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/fix-make.patch" +} + +RDEPEND="${RDEPEND} + >=gpe-base/libgpewidget-0.102" + +DEPEND="${DEPEND} + ${RDEPEND}" diff --git a/gpe-games/gpe-julia/Manifest b/gpe-games/gpe-julia/Manifest new file mode 100644 index 0000000..99fbde2 --- /dev/null +++ b/gpe-games/gpe-julia/Manifest @@ -0,0 +1,2 @@ +DIST gpe-julia-0.0.6.tar.gz 13580 SHA1 a82b6fbc751cc038763e0d51ce81ad7bb6e32e2b SHA256 4fadf583643a4aaa3c6bb66b244b893ff14d9fbf2236dde4e66478792d57357b +EBUILD gpe-julia-0.0.6.ebuild 790 SHA1 422defba58c066a45fd95c9e54ce777d0003f810 SHA256 07f04696b3b7e981ca7bf28f70a138420ac04a3baeee427d3fad0ec6b669baf2 diff --git a/gpe-games/gpe-julia/gpe-julia-0.0.6.ebuild b/gpe-games/gpe-julia/gpe-julia-0.0.6.ebuild new file mode 100644 index 0000000..2632546 --- /dev/null +++ b/gpe-games/gpe-julia/gpe-julia-0.0.6.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +GPE_TARBALL_SUFFIX="gz" +GPE_MIRROR="http://gpe.linuxtogo.org/download/source" +inherit eutils gpe + +DESCRIPTION="Julia/Mandelbrot set generator for GPE" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm ~amd64 ~x86" + + + +src_unpack() { + gpe_src_unpack +} + +RDEPEND="${RDEPEND} + >=gpe-base/libgpewidget-0.102" + +DEPEND="${DEPEND} + ${RDEPEND}" + +src_unpack() { + gpe_src_unpack "$@" + sed -i -e s@'#include <gpe/render.h>'@@ ${S}/main.c + # miknix: nls not supported on this pkg + sed -i -e 's;include $(BUILD)/Makefile.translation;;' Makefile + # miknix: This packages doesn't currrently support autotools + mv -f gpe-julia.desktop.in gpe-julia.desktop + sed -i -e 's/^_//' gpe-julia.desktop +} diff --git a/gpe-games/gpe-life/ChangeLog b/gpe-games/gpe-life/ChangeLog new file mode 100644 index 0000000..5a078c4 --- /dev/null +++ b/gpe-games/gpe-life/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for gpe-games/gpe-life +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*gpe-life-0.2 (30 Nov 2008) + + 30 Nov 2008; miranda +gpe-life-0.2.ebuild: + - Initial commit based on code from Rene Wagner + diff --git a/gpe-games/gpe-life/Manifest b/gpe-games/gpe-life/Manifest new file mode 100644 index 0000000..46460bf --- /dev/null +++ b/gpe-games/gpe-life/Manifest @@ -0,0 +1,3 @@ +DIST gpe-life-0.2.tar.gz 120236 SHA1 fc8f43ad16af82b9a0d484295c214699d7fb9583 SHA256 37cc3abf96ccbc2fc1e5d2691144154d80ad911d63614d6baa65b016268ebccd +EBUILD gpe-life-0.2.ebuild 418 SHA1 a58bb27d4200e2a4398561129df32b991c3117a8 SHA256 94ffb85181d63243a6a8d31b76f2abd8ff4dff0af4e0f11f3895cc241cb0490e +MISC ChangeLog 244 SHA1 0f28101a024ed358ec0267bf5e9a45e8a6426ebd SHA256 c5a6883866cc24ae663688d1271c47940fae4aa608c8335db0a3b2b538e0fa1e diff --git a/gpe-games/gpe-life/gpe-life-0.2.ebuild b/gpe-games/gpe-life/gpe-life-0.2.ebuild new file mode 100644 index 0000000..e42c5ca --- /dev/null +++ b/gpe-games/gpe-life/gpe-life-0.2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit gpe + +DESCRIPTION="Conway's Game of Life for the GPE Palmtop Environment" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm ~amd64 ~x86" + +GPE_DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" + +RDEPEND="${RDEPEND} + >=x11-libs/gtk+-2.6 + >=gnome-base/libglade-2.4.2" + +DEPEND="${DEPEND} + ${RDEPEND}" diff --git a/gpe-games/gpe-lights/ChangeLog b/gpe-games/gpe-lights/ChangeLog new file mode 100644 index 0000000..9890814 --- /dev/null +++ b/gpe-games/gpe-lights/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for gpe-games/gpe-lights +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*gpe-lights-0.13 (30 Nov 2008) + + 30 Nov 2008; miranda +files/fix-makefiles.patch, +gpe-lights-0.13.ebuild: + - Initial commit based on code from Rene Wagner + diff --git a/gpe-games/gpe-lights/Manifest b/gpe-games/gpe-lights/Manifest new file mode 100644 index 0000000..90c8d23 --- /dev/null +++ b/gpe-games/gpe-lights/Manifest @@ -0,0 +1,4 @@ +AUX fix-makefiles.patch 11379 SHA1 d8d4488fa861b918a8a5616268f65388dfccf740 SHA256 6c1207206e35959860a0072177cd304ea39ad63c637c18140a8cb8a8c6d437be +DIST gpe-lights-0.13.tar.gz 27029 SHA1 e4162c7ab50a3611309d730efd79ed9e0b077106 SHA256 e9de4a153ee3adc66363a583cd7db6676e92f010d783e517ef935aa35e96370e +EBUILD gpe-lights-0.13.ebuild 616 SHA1 5ce0aaa465f43e6ceadc277145a7c7dfcc38e30c SHA256 08d82c06552e03ae2bb53d8d0ce027042937807f3d315a27ee852c7681bb7f23 +MISC ChangeLog 280 SHA1 e7413f8e14677a7a59484b25b5697fed5a20b55a SHA256 1e80a74006ab703222b9665cb5f571171effe58aa5dc2f6a2662f114d5077017 diff --git a/gpe-games/gpe-lights/files/fix-makefiles.patch b/gpe-games/gpe-lights/files/fix-makefiles.patch new file mode 100644 index 0000000..3c4581e --- /dev/null +++ b/gpe-games/gpe-lights/files/fix-makefiles.patch @@ -0,0 +1,292 @@ +diff -urNd ../gpe-lights-0.12-r0/gpe-lights-0.12/build/Makefile.dpkg_ipkg gpe-lights-0.12/build/Makefile.dpkg_ipkg +--- ../gpe-lights-0.12-r0/gpe-lights-0.12/build/Makefile.dpkg_ipkg 1970-01-01 01:00:00.000000000 +0100 ++++ gpe-lights-0.12/build/Makefile.dpkg_ipkg 2004-09-18 20:09:37.000000000 +0100 +@@ -0,0 +1,114 @@ ++## Please read the README in this directory to see how to use this ++## Makefile snippet ++ ++# Let's use whatever clean target the specific app provides ++ ++CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi` ++ ++# URL to source tarball ++SOURCE = ftp://gpe.handhelds.org/gpe/source/$(PACKAGE)-$(VERSION).tar.gz ++ ++# can change this to e.g. /var/tmp/deb ++DEB_PATH = ../deb ++ ++ifeq ($(CVSBUILD),yes) ++LIBGPEWIDGET_PC = libgpewidget-uninstalled ++PC_EXTRA=PKG_CONFIG_PATH=../../base/libgpewidget ++else ++LIBGPEWIDGET_PC = libgpewidget ++endif ++ ++ifeq ($(IN_LIBGPEWIDGET),) ++GPECFLAGS = $(shell $(PC_EXTRA) pkg-config --cflags $(LIBGPEWIDGET_PC)) ++GPELIBS = $(shell $(PC_EXTRA) pkg-config --libs $(LIBGPEWIDGET_PC)) ++endif ++ ++GTKCFLAGS = $(shell pkg-config --cflags gtk+-2.0) ++GTKLIBS = $(shell pkg-config --libs gtk+-2.0) ++ ++STANDARD_CPPFLAGS = -D_GNU_SOURCE -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" ++STANDARD_CFLAGS = -MD -Wall ++ ++ifeq ($(DEBUG),yes) ++CFLAGS += -O2 -g ++LDFLAGS = -g ++else ++CFLAGS += -Os -fomit-frame-pointer ++endif ++ ++dist: check-source clean dist-prep ++ rm -rf ../$(PACKAGE)-$(VERSION) ++ mkdir ../$(PACKAGE)-$(VERSION) ++ ( tar cf - --exclude "*/CVS" --exclude CVS --exclude "*~" --exclude "#*#" --exclude "debian" --exclude ".*" --exclude "*.ipk" --exclude "*.ipk.*" --exclude "*.mo" --exclude "*.batch" --exclude "translation-ipkgs.txt" * ) | (cd ../$(PACKAGE)-$(VERSION); tar xf -) ++ ( cd ../$(PACKAGE)-$(VERSION); mkdir build; cp $(BUILD)/Makefile.dpkg_ipkg $(BUILD)/Makefile.translation build/ ; sed 's:^CVSBUILD.*:CVSBUILD = no:' < Makefile > Makefile.new; mv Makefile.new Makefile ) ++ ( cd .. ; tar cf - $(PACKAGE)-$(VERSION) | gzip -9 >$(PACKAGE)-$(VERSION).tar.gz ) ++ rm -rf ../$(PACKAGE)-$(VERSION) ++ $(MAKE) printinfo ++ ++dist-upload: dist ++ scp ../$(PACKAGE)-$(VERSION).tar.gz $(USER)@handhelds.org:/home/ftp/pub/projects/gpe/source/ ++ ++dist-prep: ++ipkg-prep: ++install-mo: ++# empty, can be filled in Makefile.translation ++ ++install: install-program install-mo ++ ++clean-dist: ++ rm -rf familiar/dist familiar/dist.list ++ ++clean: clean-dist ++ ++check-source: ++ @if [ -e familiar ] && ! grep -q '^Source:' familiar/$(CONTROL); then echo -e "\nNo Source: field in control file. Aborting.\n"; exit 1; fi ++ ++ipkg: check-source ipkg-prep clean ++ rm -rf familiar/dist ++ mkdir -p familiar/dist/CONTROL ++ sed 's:VERSION:$(VERSION):;s$$SOURCE$$$(SOURCE)$$' < familiar/$(CONTROL) > familiar/dist/CONTROL/control ++ if test -e familiar/conffiles; then install -m 644 familiar/conffiles familiar/dist/CONTROL; fi ++ if test -e familiar/preinst; then install familiar/preinst familiar/dist/CONTROL; fi ++ if test -e familiar/postinst; then install familiar/postinst familiar/dist/CONTROL; fi ++ if test -e familiar/prerm; then install familiar/prerm familiar/dist/CONTROL; fi ++ if test -e familiar/postrm; then install familiar/postrm familiar/dist/CONTROL; fi ++ $(MAKE) DESTDIR=`pwd`/familiar/dist PREFIX=/usr prefix=/usr DEBUG=no install-program ++ rm -rf familiar/dist.list ++ ipkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list ++ if [ "x$(LINGUAS)" != "x" ]; then make translation-ipkg; tr ' ' '\n' < translation-ipkgs.txt >> familiar/dist.list; fi ++ md5sum `cat familiar/dist.list` > $(PACKAGE)_$(VERSION).batch ++ rm -rf familiar/dist familiar/dist.list ++ $(MAKE) printinfo ++ ++dpkg: dist ++ mkdir -p $(DEB_PATH) ++ ( olddir=`pwd`; cd $(DEB_PATH); rm -rf $(PACKAGE)-$(VERSION); ln -s $$olddir/../$(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)_$(VERSION).orig.tar.gz ; tar xzf $(PACKAGE)_$(VERSION).orig.tar.gz ) ++ mkdir -p $(DEB_PATH)/$(PACKAGE)-$(VERSION)/debian ++ for i in debian/*; do if test -f $$i; then cp $$i $(DEB_PATH)/$(PACKAGE)-$(VERSION)/debian/; fi; done ++ ++CVSTAG := $(shell echo $(PACKAGE)-$(VERSION) | tr [a-z.] [A-Z_]) ++printinfo: ++ @printf '-------------------------------------------------------------------------------\n' ++ @printf "If this becomes a package release, please add a CVS tag.\n" ++ @printf "You can use 'make tag' for that, it will execute\n" ++ @printf " cvs tag %s\n" $(CVSTAG) ++ @printf "Please upload a tarball (created with 'make dist') to\n" ++ @printf " ftp://ftp.handhelds.org/pub/projects/gpe/\n" ++ @printf " (handhelds.org:~ftp/pub/projects/gpe/source)\n" ++ @printf "You can use 'make dist-upload' to do that.\n" ++ @printf "You are currently known as USER %s.\n" $(USER) ++ @printf '-------------------------------------------------------------------------------\n' ++ ++tag: check-source ++ cvs tag $(CVSTAG) ++ ++retag: check-source ++ cvs tag -F $(CVSTAG) ++ ++source: tag dist-upload ++ ++%.pc: %.pc.in ++ sed 's:PREFIX:$(PREFIX):;s:BUILDDIR:$(shell pwd):;s:VERSION:$(VERSION):' < $< > $@ ++ ++.c.o:; ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(PACKAGE_CFLAGS) $(PACKAGE_CPPFLAGS) -c $< -o $@ +diff -urNd ../gpe-lights-0.12-r0/gpe-lights-0.12/build/Makefile.translation gpe-lights-0.12/build/Makefile.translation +--- ../gpe-lights-0.12-r0/gpe-lights-0.12/build/Makefile.translation 1970-01-01 01:00:00.000000000 +0100 ++++ gpe-lights-0.12/build/Makefile.translation 2004-09-18 20:09:37.000000000 +0100 +@@ -0,0 +1,103 @@ ++.SUFFIXES: .mo .po .pot .po8 ++ ++CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi` ++ ++# use ipkg-build or ipkg-deb-build ++IPKG_BUILD := ipkg-build ++ ++TRANSLATION_SITE := http://www.iro.umontreal.ca/~gnutra/maint ++ ++ifeq ($(DIR_PO),) ++DIR_PO := po ++endif ++ ++ifeq ($(BINPACKAGE),) ++BINPACKAGE := $(PACKAGE) ++endif ++ ++mo-files = $(patsubst %,$(DIR_PO)/%.mo,$(LINGUAS)) ++po-files = $(patsubst %,$(DIR_PO)/%.po,$(LINGUAS)) ++ ++ifeq ($(shell if [ -f $(PACKAGE).desktop.in ]; then echo present; fi;),present) ++desktop-files += $(PACKAGE).desktop ++endif ++ ++ifneq ($(EXTRA_DESKTOPS),) ++desktop-files += $(patsubst %.desktop.in,%.desktop,$(EXTRA_DESKTOPS)) ++endif ++ ++all-mo: $(mo-files) ++ ++all-desktop: $(desktop-files) ++ ++install-mo: all-mo ++ if [ "x$(LINGUAS)" != "x" ]; then \ ++ for i in $(LINGUAS); do mkdir -p $(DESTDIR)$(PREFIX)/share/locale/$$i/LC_MESSAGES; install -m 644 $(DIR_PO)/$$i.mo $(DESTDIR)$(PREFIX)/share/locale/$$i/LC_MESSAGES/$(PACKAGE).mo; done \ ++ fi; ++ ++.po8.mo:; ++ msgfmt -o $@ $< ++ ++.po.po8:; ++ CTYPE=`grep "^\"Content-Type:" $< | sed 's/^.*charset=//;s/\\\\.*//'`; sed "s/\(Content-Type: .*=\)$$CTYPE/\1UTF-8/" < $< | iconv -f $${CTYPE} -t UTF-8 >$@ ++ ++update-po: $(po-files) extract-po ++ ++dist-prep: update-po freshen-po ++# empty ++ ++ifeq ($(CVSBUILD),yes) ++ipkg-prep: freshen-po ++# empty ++endif ++ ++extract-po: ++ mkdir -p $(DIR_PO) ++ ( SOURCES="$(SOURCES)"; for DESK in $(PACKAGE).desktop.in $(EXTRA_DESKTOPS); do if [ -f $$DESK ]; then intltool-extract --type=gettext/ini $$DESK; SOURCES="$$SOURCES $${DESK}.h"; fi; done; if [ "x$$SOURCES" != "x" ]; then xgettext --add-comments=TRANSLATORS: -k_ -kN_ -o $(DIR_PO)/$(PACKAGE).pot.new $$SOURCES; fi ) ++ if [ -f $(DIR_PO)/$(PACKAGE).pot.new ]; then if cmp -s $(DIR_PO)/$(PACKAGE).pot.new $(PACKAGE).pot; then rm $(DIR_PO)/$(PACKAGE).pot.new; else mv $(DIR_PO)/$(PACKAGE).pot.new $(DIR_PO)/$(PACKAGE).pot; fi; fi ++ ++clean: clean-po clean-dist-translation ++ ++clean-po: ++ rm -rf $(DIR_PO)/*.mo ++ for i in $(desktop-files); do if [ -f $$i.in ]; then rm -f $$i; rm -f $$i.in.h; fi; done ++ ++%.desktop: %.desktop.in $(patsubst %,$(DIR_PO)/%.po,$(LINGUAS)) ++ intltool-merge -u -d $(DIR_PO) $< $@ ++ ++freshen-po: ++ rm -rf tmp-po ++ mkdir tmp-po ++ cd tmp-po; for LANG in $(LINGUAS); do wget $(TRANSLATION_SITE)/$(PACKAGE)/$$LANG.po; done ++ for LANG in $(LINGUAS); do if [ ! -f $(DIR_PO)/$$LANG.po ] || ! cmp -s $(DIR_PO)/$$LANG.po tmp-po/$$LANG.po ; then mv tmp-po/$$LANG.po $(DIR_PO)/$$LANG.po; echo "Updated $$LANG translation"; fi; done ++ rm -rf tmp-po ++ ++# ------------------------------------------------------------------------ ++ ++MAINTAINER = $(shell grep 'Maintainer: ' familiar/$(CONTROL) | cut -d ' ' -f 2-) ++ ++ifndef BUILD ++BUILD = ../build ++endif ++ ++transdist := familiar/dist-translation ++templates := $(BUILD)/familiar ++ipkglist := translation-ipkgs.txt ++ ++clean-dist-translation: ++ rm -rf $(transdist) $(ipkglist) ++ ++real-translation-package: all-mo ++ rm -rf $(transdist) $(ipkglist) ++ for LINGUA in $(LINGUAS); do \ ++ i=$$(echo $$LINGUA | tr '[A-Z_]' '[a-z+]'); \ ++ mkdir -p $(transdist)/$$i/CONTROL; \ ++ mkdir -p $(transdist)/$$i$(PREFIX)/share/locale/$$LINGUA/LC_MESSAGES; \ ++ install -m 644 po/$$LINGUA.mo $(transdist)/$$i$(PREFIX)/share/locale/$$LINGUA/LC_MESSAGES/$(PACKAGE).mo; \ ++ sed -e "s/<maintainer>/$(MAINTAINER)/;s/<package>/$(BINPACKAGE)/;s/<version>/$(VERSION)/;s/<language>/$$i/;s!<source>!$(SOURCE)!" $(templates)/control.translation > $(transdist)/$$i/CONTROL/control; \ ++ install $(templates)/postinst.translation $(transdist)/$$i/CONTROL/postinst; \ ++ $(IPKG_BUILD) -g 0 -o 0 $(transdist)/$$i | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> $(ipkglist); \ ++ done ++ ++translation-ipkg: ++ make PREFIX=/usr real-translation-package +diff -urNd ../gpe-lights-0.12-r0/gpe-lights-0.12/Makefile gpe-lights-0.12/Makefile +--- ../gpe-lights-0.12-r0/gpe-lights-0.12/Makefile 2004-09-17 23:32:53.000000000 +0100 ++++ gpe-lights-0.12/Makefile 2004-09-18 20:10:46.000000000 +0100 +@@ -1,41 +1,37 @@ + PACKAGE = gpe-lights +-PREFIX = /usr/local ++PREFIX = /usr + DEBUG = no + LINGUAS = + VERSION = 0.13 ++DEBUG = no ++CVSBUILD = no + + MEMBERS = gpe-lights + + GTKCFLAGS = `pkg-config --cflags gtk+-2.0` +-GTKLDFLAGS += `pkg-config --libs gtk+-2.0` ++GTKLDFLAGS = `pkg-config --libs gtk+-2.0 gdk-2.0` + +-CPPFLAGS = $(GTKCFLAGS) -D_GNU_SOURCE +-ifeq ($(DEBUG),yes) +-CFLAGS += -O2 -g +-LDFLAGS = -g #-lefence ++PACKAGE_CFLAGS += $(STANDARD_CFLAGS) $(GTKCFLAGS) $(GPECFLAGS) ++PACKAGE_CPPFLAGS += $(STANDARD_CPPFLAGS) -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" ++PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) $(GTKLDFLAGS) $(GPELIBS) ++ ++ifeq ($(CVSBUILD),yes) ++BUILD = ../build + else +-CFLAGS += -Os -fomit-frame-pointer ++BUILD = build + endif +-CFLAGS += -Wall +-CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" +-CFLAGS += -MD -I../../base/libgpewidget +- +-LDFLAGS += -L../../base/libgpewidget -lgpewidget +- +-.SUFFIXES: .d + + OBJS = $(patsubst %,%.o,$(MEMBERS)) +-DEPS = $(patsubst %,%.d,$(MEMBERS)) + SOURCES = $(patsubst %,%.c,$(MEMBERS)) ++DEPS = $(patsubst %,%.d,$(MEMBERS)) + + all: $(PACKAGE) + + $(PACKAGE): $(OBJS) +- $(CC) -o $@ $^ $(LDFLAGS) $(GTKLDFLAGS) ++ $(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS) + + install-program: all +- install -D $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) +- strip $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) ++ install -D $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) + install -d $(DESTDIR)$(PREFIX)/share/pixmaps + install -d $(DESTDIR)$(PREFIX)/share/applications + install -m 644 $(PACKAGE).png $(DESTDIR)$(PREFIX)/share/pixmaps/ +@@ -49,5 +45,6 @@ + clean: + rm -f $(PACKAGE) $(OBJS) $(DEPS) + +-include ../../base/build/Makefile.dpkg_ipkg ++include $(BUILD)/Makefile.dpkg_ipkg ++include $(BUILD)/Makefile.translation + -include $(DEPS) diff --git a/gpe-games/gpe-lights/gpe-lights-0.13.ebuild b/gpe-games/gpe-lights/gpe-lights-0.13.ebuild new file mode 100644 index 0000000..a9a8c7d --- /dev/null +++ b/gpe-games/gpe-lights/gpe-lights-0.13.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils gpe + +DESCRIPTION="A simple light puzzle for the GPE Palmtop Environment" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm ~amd64 ~x86" + + + +src_unpack() { + gpe_src_unpack + #epatch "${FILESDIR}/fix-makefiles.patch" + + # miknix: This should replace the need for patch above + sed -i -e 's;include ../../base/build/Makefile.dpkg_ipkg;;' \ + -e 's;install-program;install;g' Makefile || die "fail to sed" + +} + +RDEPEND="${RDEPEND} + >=gpe-base/libgpewidget-0.102" + +DEPEND="${DEPEND} + ${RDEPEND}" diff --git a/gpe-games/gpe-othello/ChangeLog b/gpe-games/gpe-othello/ChangeLog new file mode 100644 index 0000000..b67cfea --- /dev/null +++ b/gpe-games/gpe-othello/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for gpe-games/gpe-othello +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*gpe-othello-0.2_p1 (30 Nov 2008) + + 30 Nov 2008; miranda +files/fix-makefiles.patch, + +gpe-othello-0.2_p1.ebuild: + - Initial commit based on code from Rene Wagner + diff --git a/gpe-games/gpe-othello/Manifest b/gpe-games/gpe-othello/Manifest new file mode 100644 index 0000000..c3e2831 --- /dev/null +++ b/gpe-games/gpe-othello/Manifest @@ -0,0 +1,4 @@ +AUX fix-makefiles.patch 11564 SHA1 da5f7c3ec77e2fe25a2fc66d1b3e26b6dbbee3c8 SHA256 2d59008d3bcb6880e294baaf8738086fbdb0ed0d7a310dfb275ef74ecd3b6779 +DIST gpe-othello-0.2-1.tar.gz 33491 SHA1 4872c0997d34072737e43547998b3997d18b6630 SHA256 8beb35d6bc48e083adc6dd39851632f042ad364b5b8579c14bf8cdcf7dd91552 +EBUILD gpe-othello-0.2_p1.ebuild 527 SHA1 40d9423125303791a9ba8594fdabda7632e848fb SHA256 f52cd85d31fc2823a27019d46714201d3e090995a91c7d5a8a2c28ff3ead60e6 +MISC ChangeLog 289 SHA1 2fff8cdcff9493db87a1bdcfb0743f085472a0dc SHA256 b0458021ce053e6954c04a0dd4d343d603574178232e8deeb20f4a74e7026d4d diff --git a/gpe-games/gpe-othello/files/fix-makefiles.patch b/gpe-games/gpe-othello/files/fix-makefiles.patch new file mode 100644 index 0000000..def1915 --- /dev/null +++ b/gpe-games/gpe-othello/files/fix-makefiles.patch @@ -0,0 +1,292 @@ +diff -urNd ../gpe-othello-0.2-1-r0/gpe-othello-0.2-1/build/Makefile.dpkg_ipkg gpe-othello-0.2-1/build/Makefile.dpkg_ipkg +--- ../gpe-othello-0.2-1-r0/gpe-othello-0.2-1/build/Makefile.dpkg_ipkg 1970-01-01 01:00:00.000000000 +0100 ++++ gpe-othello-0.2-1/build/Makefile.dpkg_ipkg 2004-09-18 20:23:29.000000000 +0100 +@@ -0,0 +1,114 @@ ++## Please read the README in this directory to see how to use this ++## Makefile snippet ++ ++# Let's use whatever clean target the specific app provides ++ ++CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi` ++ ++# URL to source tarball ++SOURCE = ftp://gpe.handhelds.org/gpe/source/$(PACKAGE)-$(VERSION).tar.gz ++ ++# can change this to e.g. /var/tmp/deb ++DEB_PATH = ../deb ++ ++ifeq ($(CVSBUILD),yes) ++LIBGPEWIDGET_PC = libgpewidget-uninstalled ++PC_EXTRA=PKG_CONFIG_PATH=../../base/libgpewidget ++else ++LIBGPEWIDGET_PC = libgpewidget ++endif ++ ++ifeq ($(IN_LIBGPEWIDGET),) ++GPECFLAGS = $(shell $(PC_EXTRA) pkg-config --cflags $(LIBGPEWIDGET_PC)) ++GPELIBS = $(shell $(PC_EXTRA) pkg-config --libs $(LIBGPEWIDGET_PC)) ++endif ++ ++GTKCFLAGS = $(shell pkg-config --cflags gtk+-2.0) ++GTKLIBS = $(shell pkg-config --libs gtk+-2.0) ++ ++STANDARD_CPPFLAGS = -D_GNU_SOURCE -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" ++STANDARD_CFLAGS = -MD -Wall ++ ++ifeq ($(DEBUG),yes) ++CFLAGS += -O2 -g ++LDFLAGS = -g ++else ++CFLAGS += -Os -fomit-frame-pointer ++endif ++ ++dist: check-source clean dist-prep ++ rm -rf ../$(PACKAGE)-$(VERSION) ++ mkdir ../$(PACKAGE)-$(VERSION) ++ ( tar cf - --exclude "*/CVS" --exclude CVS --exclude "*~" --exclude "#*#" --exclude "debian" --exclude ".*" --exclude "*.ipk" --exclude "*.ipk.*" --exclude "*.mo" --exclude "*.batch" --exclude "translation-ipkgs.txt" * ) | (cd ../$(PACKAGE)-$(VERSION); tar xf -) ++ ( cd ../$(PACKAGE)-$(VERSION); mkdir build; cp $(BUILD)/Makefile.dpkg_ipkg $(BUILD)/Makefile.translation build/ ; sed 's:^CVSBUILD.*:CVSBUILD = no:' < Makefile > Makefile.new; mv Makefile.new Makefile ) ++ ( cd .. ; tar cf - $(PACKAGE)-$(VERSION) | gzip -9 >$(PACKAGE)-$(VERSION).tar.gz ) ++ rm -rf ../$(PACKAGE)-$(VERSION) ++ $(MAKE) printinfo ++ ++dist-upload: dist ++ scp ../$(PACKAGE)-$(VERSION).tar.gz $(USER)@handhelds.org:/home/ftp/pub/projects/gpe/source/ ++ ++dist-prep: ++ipkg-prep: ++install-mo: ++# empty, can be filled in Makefile.translation ++ ++install: install-program install-mo ++ ++clean-dist: ++ rm -rf familiar/dist familiar/dist.list ++ ++clean: clean-dist ++ ++check-source: ++ @if [ -e familiar ] && ! grep -q '^Source:' familiar/$(CONTROL); then echo -e "\nNo Source: field in control file. Aborting.\n"; exit 1; fi ++ ++ipkg: check-source ipkg-prep clean ++ rm -rf familiar/dist ++ mkdir -p familiar/dist/CONTROL ++ sed 's:VERSION:$(VERSION):;s$$SOURCE$$$(SOURCE)$$' < familiar/$(CONTROL) > familiar/dist/CONTROL/control ++ if test -e familiar/conffiles; then install -m 644 familiar/conffiles familiar/dist/CONTROL; fi ++ if test -e familiar/preinst; then install familiar/preinst familiar/dist/CONTROL; fi ++ if test -e familiar/postinst; then install familiar/postinst familiar/dist/CONTROL; fi ++ if test -e familiar/prerm; then install familiar/prerm familiar/dist/CONTROL; fi ++ if test -e familiar/postrm; then install familiar/postrm familiar/dist/CONTROL; fi ++ $(MAKE) DESTDIR=`pwd`/familiar/dist PREFIX=/usr prefix=/usr DEBUG=no install-program ++ rm -rf familiar/dist.list ++ ipkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list ++ if [ "x$(LINGUAS)" != "x" ]; then make translation-ipkg; tr ' ' '\n' < translation-ipkgs.txt >> familiar/dist.list; fi ++ md5sum `cat familiar/dist.list` > $(PACKAGE)_$(VERSION).batch ++ rm -rf familiar/dist familiar/dist.list ++ $(MAKE) printinfo ++ ++dpkg: dist ++ mkdir -p $(DEB_PATH) ++ ( olddir=`pwd`; cd $(DEB_PATH); rm -rf $(PACKAGE)-$(VERSION); ln -s $$olddir/../$(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)_$(VERSION).orig.tar.gz ; tar xzf $(PACKAGE)_$(VERSION).orig.tar.gz ) ++ mkdir -p $(DEB_PATH)/$(PACKAGE)-$(VERSION)/debian ++ for i in debian/*; do if test -f $$i; then cp $$i $(DEB_PATH)/$(PACKAGE)-$(VERSION)/debian/; fi; done ++ ++CVSTAG := $(shell echo $(PACKAGE)-$(VERSION) | tr [a-z.] [A-Z_]) ++printinfo: ++ @printf '-------------------------------------------------------------------------------\n' ++ @printf "If this becomes a package release, please add a CVS tag.\n" ++ @printf "You can use 'make tag' for that, it will execute\n" ++ @printf " cvs tag %s\n" $(CVSTAG) ++ @printf "Please upload a tarball (created with 'make dist') to\n" ++ @printf " ftp://ftp.handhelds.org/pub/projects/gpe/\n" ++ @printf " (handhelds.org:~ftp/pub/projects/gpe/source)\n" ++ @printf "You can use 'make dist-upload' to do that.\n" ++ @printf "You are currently known as USER %s.\n" $(USER) ++ @printf '-------------------------------------------------------------------------------\n' ++ ++tag: check-source ++ cvs tag $(CVSTAG) ++ ++retag: check-source ++ cvs tag -F $(CVSTAG) ++ ++source: tag dist-upload ++ ++%.pc: %.pc.in ++ sed 's:PREFIX:$(PREFIX):;s:BUILDDIR:$(shell pwd):;s:VERSION:$(VERSION):' < $< > $@ ++ ++.c.o:; ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(PACKAGE_CFLAGS) $(PACKAGE_CPPFLAGS) -c $< -o $@ +diff -urNd ../gpe-othello-0.2-1-r0/gpe-othello-0.2-1/build/Makefile.translation gpe-othello-0.2-1/build/Makefile.translation +--- ../gpe-othello-0.2-1-r0/gpe-othello-0.2-1/build/Makefile.translation 1970-01-01 01:00:00.000000000 +0100 ++++ gpe-othello-0.2-1/build/Makefile.translation 2004-09-18 20:23:29.000000000 +0100 +@@ -0,0 +1,103 @@ ++.SUFFIXES: .mo .po .pot .po8 ++ ++CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi` ++ ++# use ipkg-build or ipkg-deb-build ++IPKG_BUILD := ipkg-build ++ ++TRANSLATION_SITE := http://www.iro.umontreal.ca/~gnutra/maint ++ ++ifeq ($(DIR_PO),) ++DIR_PO := po ++endif ++ ++ifeq ($(BINPACKAGE),) ++BINPACKAGE := $(PACKAGE) ++endif ++ ++mo-files = $(patsubst %,$(DIR_PO)/%.mo,$(LINGUAS)) ++po-files = $(patsubst %,$(DIR_PO)/%.po,$(LINGUAS)) ++ ++ifeq ($(shell if [ -f $(PACKAGE).desktop.in ]; then echo present; fi;),present) ++desktop-files += $(PACKAGE).desktop ++endif ++ ++ifneq ($(EXTRA_DESKTOPS),) ++desktop-files += $(patsubst %.desktop.in,%.desktop,$(EXTRA_DESKTOPS)) ++endif ++ ++all-mo: $(mo-files) ++ ++all-desktop: $(desktop-files) ++ ++install-mo: all-mo ++ if [ "x$(LINGUAS)" != "x" ]; then \ ++ for i in $(LINGUAS); do mkdir -p $(DESTDIR)$(PREFIX)/share/locale/$$i/LC_MESSAGES; install -m 644 $(DIR_PO)/$$i.mo $(DESTDIR)$(PREFIX)/share/locale/$$i/LC_MESSAGES/$(PACKAGE).mo; done \ ++ fi; ++ ++.po8.mo:; ++ msgfmt -o $@ $< ++ ++.po.po8:; ++ CTYPE=`grep "^\"Content-Type:" $< | sed 's/^.*charset=//;s/\\\\.*//'`; sed "s/\(Content-Type: .*=\)$$CTYPE/\1UTF-8/" < $< | iconv -f $${CTYPE} -t UTF-8 >$@ ++ ++update-po: $(po-files) extract-po ++ ++dist-prep: update-po freshen-po ++# empty ++ ++ifeq ($(CVSBUILD),yes) ++ipkg-prep: freshen-po ++# empty ++endif ++ ++extract-po: ++ mkdir -p $(DIR_PO) ++ ( SOURCES="$(SOURCES)"; for DESK in $(PACKAGE).desktop.in $(EXTRA_DESKTOPS); do if [ -f $$DESK ]; then intltool-extract --type=gettext/ini $$DESK; SOURCES="$$SOURCES $${DESK}.h"; fi; done; if [ "x$$SOURCES" != "x" ]; then xgettext --add-comments=TRANSLATORS: -k_ -kN_ -o $(DIR_PO)/$(PACKAGE).pot.new $$SOURCES; fi ) ++ if [ -f $(DIR_PO)/$(PACKAGE).pot.new ]; then if cmp -s $(DIR_PO)/$(PACKAGE).pot.new $(PACKAGE).pot; then rm $(DIR_PO)/$(PACKAGE).pot.new; else mv $(DIR_PO)/$(PACKAGE).pot.new $(DIR_PO)/$(PACKAGE).pot; fi; fi ++ ++clean: clean-po clean-dist-translation ++ ++clean-po: ++ rm -rf $(DIR_PO)/*.mo ++ for i in $(desktop-files); do if [ -f $$i.in ]; then rm -f $$i; rm -f $$i.in.h; fi; done ++ ++%.desktop: %.desktop.in $(patsubst %,$(DIR_PO)/%.po,$(LINGUAS)) ++ intltool-merge -u -d $(DIR_PO) $< $@ ++ ++freshen-po: ++ rm -rf tmp-po ++ mkdir tmp-po ++ cd tmp-po; for LANG in $(LINGUAS); do wget $(TRANSLATION_SITE)/$(PACKAGE)/$$LANG.po; done ++ for LANG in $(LINGUAS); do if [ ! -f $(DIR_PO)/$$LANG.po ] || ! cmp -s $(DIR_PO)/$$LANG.po tmp-po/$$LANG.po ; then mv tmp-po/$$LANG.po $(DIR_PO)/$$LANG.po; echo "Updated $$LANG translation"; fi; done ++ rm -rf tmp-po ++ ++# ------------------------------------------------------------------------ ++ ++MAINTAINER = $(shell grep 'Maintainer: ' familiar/$(CONTROL) | cut -d ' ' -f 2-) ++ ++ifndef BUILD ++BUILD = ../build ++endif ++ ++transdist := familiar/dist-translation ++templates := $(BUILD)/familiar ++ipkglist := translation-ipkgs.txt ++ ++clean-dist-translation: ++ rm -rf $(transdist) $(ipkglist) ++ ++real-translation-package: all-mo ++ rm -rf $(transdist) $(ipkglist) ++ for LINGUA in $(LINGUAS); do \ ++ i=$$(echo $$LINGUA | tr '[A-Z_]' '[a-z+]'); \ ++ mkdir -p $(transdist)/$$i/CONTROL; \ ++ mkdir -p $(transdist)/$$i$(PREFIX)/share/locale/$$LINGUA/LC_MESSAGES; \ ++ install -m 644 po/$$LINGUA.mo $(transdist)/$$i$(PREFIX)/share/locale/$$LINGUA/LC_MESSAGES/$(PACKAGE).mo; \ ++ sed -e "s/<maintainer>/$(MAINTAINER)/;s/<package>/$(BINPACKAGE)/;s/<version>/$(VERSION)/;s/<language>/$$i/;s!<source>!$(SOURCE)!" $(templates)/control.translation > $(transdist)/$$i/CONTROL/control; \ ++ install $(templates)/postinst.translation $(transdist)/$$i/CONTROL/postinst; \ ++ $(IPKG_BUILD) -g 0 -o 0 $(transdist)/$$i | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> $(ipkglist); \ ++ done ++ ++translation-ipkg: ++ make PREFIX=/usr real-translation-package +diff -urNd ../gpe-othello-0.2-1-r0/gpe-othello-0.2-1/Makefile gpe-othello-0.2-1/Makefile +--- ../gpe-othello-0.2-1-r0/gpe-othello-0.2-1/Makefile 2004-09-18 00:16:02.000000000 +0100 ++++ gpe-othello-0.2-1/Makefile 2004-09-18 20:25:16.000000000 +0100 +@@ -3,41 +3,37 @@ + DEBUG = no + LINGUAS = + VERSION = 0.2-1 ++DEBUG = no ++CVSBUILD = no + + MEMBERS = callbacks gameutils moteur deepblue support globals main + +-GTKCFLAGS = `pkg-config --cflags gtk+-2.0` -DGTK_ENABLE_BROKEN +-GTKLDFLAGS += `pkg-config --libs gtk+-2.0` ++GTKCFLAGS = `pkg-config --cflags gtk+-2.0` ++GTKLDFLAGS = `pkg-config --libs gtk+-2.0 gdk-2.0` + +-PACKAGE_CPPFLAGS = $(GTKCFLAGS) -D_GNU_SOURCE +-ifeq ($(DEBUG),yes) +-PACKAGE_CFLAGS += -O2 -g +-PACKAGE_LDFLAGS = -g ++PACKAGE_CFLAGS += $(STANDARD_CFLAGS) $(GTKCFLAGS) $(GPECFLAGS) ++PACKAGE_CPPFLAGS += $(STANDARD_CPPFLAGS) -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" ++PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) $(GTKLDFLAGS) $(GPELIBS) ++ ++ifeq ($(CVSBUILD),yes) ++BUILD = ../build + else +-PACKAGE_CFLAGS += -Os -fomit-frame-pointer ++BUILD = build + endif +-PACKAGE_CFLAGS += -Wall -I../../base/libgpewidget +-PACKAGE_CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" +-PACKAGE_CFLAGS += -MD +- +-PACKAGE_LDFLAGS += -L../../base/libgpewidget -lgpewidget +- +-.SUFFIXES: .d + + OBJS = $(patsubst %,%.o,$(MEMBERS)) +-DEPS = $(patsubst %,%.d,$(MEMBERS)) + SOURCES = $(patsubst %,%.c,$(MEMBERS)) ++DEPS = $(patsubst %,%.d,$(MEMBERS)) + + PIXMAPS = bell.png + + all: $(PACKAGE) + + $(PACKAGE): $(OBJS) +- $(CC) -o $@ $^ $(GTKLDFLAGS) $(LDFLAGS) $(PACKAGE_LDFLAGS) ++ $(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS) + + install-program: all +- install -D $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) +- strip $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) ++ install -D $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE) + install -d $(DESTDIR)$(PREFIX)/share/pixmaps + install -m 644 $(PACKAGE).png $(DESTDIR)$(PREFIX)/share/pixmaps/ + install -d $(DESTDIR)$(PREFIX)/share/applications +@@ -48,5 +44,6 @@ + clean: + rm -f $(PACKAGE) $(OBJS) $(DEPS) + +-include ../../base/build/Makefile.dpkg_ipkg ++include $(BUILD)/Makefile.dpkg_ipkg ++include $(BUILD)/Makefile.translation + -include $(DEPS) diff --git a/gpe-games/gpe-othello/gpe-othello-0.2_p1.ebuild b/gpe-games/gpe-othello/gpe-othello-0.2_p1.ebuild new file mode 100644 index 0000000..680ad89 --- /dev/null +++ b/gpe-games/gpe-othello/gpe-othello-0.2_p1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils gpe + +DESCRIPTION="Othello clone for the GPE Palmtop Environment" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm ~amd64 ~x86" + +SRC_URI="${GPE_MIRROR}/${PN}-${PV/_p/-}.tar.${GPE_TARBALL_SUFFIX}" +S="${WORKDIR}/${PN}-${PV/_p/-}" + + + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/fix-makefiles.patch" +} + +RDEPEND="${RDEPEND} + >=gpe-base/libgpewidget-0.102" + +DEPEND="${DEPEND} + ${RDEPEND}" diff --git a/gpe-games/gpe-tetris/ChangeLog b/gpe-games/gpe-tetris/ChangeLog new file mode 100644 index 0000000..c7fe8d2 --- /dev/null +++ b/gpe-games/gpe-tetris/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for gpe-games/gpe-tetris +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*gpe-tetris-0.6_p4 (30 Nov 2008) + + 30 Nov 2008; miranda +gpe-tetris-0.6_p4.ebuild: + - Initial commit based on code from Rene Wagner + diff --git a/gpe-games/gpe-tetris/Manifest b/gpe-games/gpe-tetris/Manifest new file mode 100644 index 0000000..ebac0f8 --- /dev/null +++ b/gpe-games/gpe-tetris/Manifest @@ -0,0 +1,3 @@ +DIST gpe-tetris-0.6-4.tar.gz 33192 SHA1 e523c5d39be1daf36ce50f689d4e1f60a715ebee SHA256 f43b452ac845b7406fe6b6d7aa9ca64fad731142cd9912e79f03fc5c6b8c10ad +EBUILD gpe-tetris-0.6_p4.ebuild 621 SHA1 bc76f59e83c31eb6be58f271159842ea7b3f1c1d SHA256 0ff4abe4346f4e8c5a6eb17609eb431c70de46f9a7967cbc91b57e0477dd44e9 +MISC ChangeLog 256 SHA1 a441725ce670fae613f243af30fe4236bbbfd07a SHA256 77438afc0a57a4c4443931ba4c1abff3358fd4494e78e8f5ab1d4fdaa8248963 diff --git a/gpe-games/gpe-tetris/gpe-tetris-0.6_p4.ebuild b/gpe-games/gpe-tetris/gpe-tetris-0.6_p4.ebuild new file mode 100644 index 0000000..1095912 --- /dev/null +++ b/gpe-games/gpe-tetris/gpe-tetris-0.6_p4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils gpe + +DESCRIPTION="Tetris for the GPE Palmtop Environment" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm ~amd64 ~x86" + +GPE_DOCS="COPYING ChangeLog README THANKS" + +SRC_URI="${GPE_MIRROR}/${PN}-${PV/_p/-}.tar.${GPE_TARBALL_SUFFIX}" +S="${WORKDIR}/${PN}-${PV/_p/-}" + +RDEPEND="${RDEPEND} + >=gpe-base/libgpewidget-0.113" + +DEPEND="${DEPEND} + ${RDEPEND}" + +src_unpack() { + gpe_src_unpack "$@" + # miknix: nls not supported on this pkg + sed -i -e 's;include $(BUILD)/Makefile.translation;;' Makefile +} diff --git a/gpe-games/gsoko/ChangeLog b/gpe-games/gsoko/ChangeLog new file mode 100644 index 0000000..1e71410 --- /dev/null +++ b/gpe-games/gsoko/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for gpe-games/gpe-go +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*gpe-go-0.05 (30 Nov 2008) + + 30 Nov 2008; miranda +files/fix-make.patch, +gpe-go-0.05.ebuild: + - Initial commit based on code from Rene Wagner + diff --git a/gpe-games/gsoko/Manifest b/gpe-games/gsoko/Manifest new file mode 100644 index 0000000..e868e61 --- /dev/null +++ b/gpe-games/gsoko/Manifest @@ -0,0 +1,4 @@ +AUX gsoko-0.4.2-Makefile.patch 1140 SHA1 1581e008dcf0a63d614fcbe7cd112132f2f41350 SHA256 9193e2b6e8cd185fd7101accbe45ab0fe3f97896bc1250768b96a5af485f4321 +DIST gsoko-0.4.2-gpe6.tar.gz 22744 SHA1 4e585d84959484f280ebc44b48a8ddadd2649952 SHA256 484f528602bd64df26a1d1db6e249476df80fe31ee8b3f85bc246a1ab73e7fe7 +EBUILD gsoko-0.4.2.ebuild 717 SHA1 84e24a7c29f3961f4daf0f2ed4173d75804395f5 SHA256 3d5af4a227aa215369412a55f94441e1e2b4d439e80b54e699ba1db8b362ff7e +MISC ChangeLog 263 SHA1 5bad2ceeb39cc773254fb42978982fecb6e286db SHA256 0d68346de72dfe4f84227efa85c5bcde8f916563e72b0aca668d7d5ab97614ea diff --git a/gpe-games/gsoko/files/gsoko-0.4.2-Makefile.patch b/gpe-games/gsoko/files/gsoko-0.4.2-Makefile.patch new file mode 100644 index 0000000..c6e9b0b --- /dev/null +++ b/gpe-games/gsoko/files/gsoko-0.4.2-Makefile.patch @@ -0,0 +1,38 @@ + +diff -Nur gsoko-0.4.2-gpe6/Makefile gsoko-0.4.2-gpe6.new/Makefile +--- gsoko-0.4.2-gpe6/Makefile 2007-07-03 21:46:11.000000000 +0100 ++++ gsoko-0.4.2-gpe6.new/Makefile 2007-07-03 21:46:21.000000000 +0100 +@@ -4,10 +4,10 @@ + VERSION = 0.4.2-gpe6 + PACKAGE = gsoko + +-PREFIX = /usr/local +-BUILD = ../../base/build ++PREFIX = /usr ++BUILD = ./build + +-all: gsoko ++all: gsoko + + gsoko: $(OBJS) + $(CC) $(CFLAGS) $(PACKAGE_CFLAGS) -o $@ $(OBJS) `pkg-config --libs gtk+-2.0` +@@ -16,8 +16,8 @@ + rm -f *.o + rm -f gsoko + +-#.c.o: +-# $(CC) $(CFLAGS) $(PACKAGE_CFLAGS) -c `pkg-config --cflags gtk+-2.0` $< -DPREFIX=\"$(PREFIX)\" ++.c.o: ++ $(CC) $(CFLAGS) $(PACKAGE_CFLAGS) -c `pkg-config --cflags gtk+-2.0` $< -DPREFIX=\"$(PREFIX)\" + + LEVELS = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 + IMGS = box.png box2.png man.png tile.png tile2.png wall.png +@@ -42,6 +42,6 @@ + interface.o: interface.c gsoko.h + move.o: move.c gsoko.h + +-include $(BUILD)/Makefile.dpkg_ipkg ++include $(BUILD)/Makefile.gentoo + include $(BUILD)/Makefile.translation + -include $(DEPS) + diff --git a/gpe-games/gsoko/gsoko-0.4.2.ebuild b/gpe-games/gsoko/gsoko-0.4.2.ebuild new file mode 100644 index 0000000..88175ed --- /dev/null +++ b/gpe-games/gsoko/gsoko-0.4.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils gpe + +DESCRIPTION="A Go Board for the GPE Palmtop Environment" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm ~amd64 ~x86" +SRC_URI="${GPE_MIRROR}/${P}-gpe6.tar.gz" +GPE_DOCS="CHANGES README" + + +RDEPEND="${RDEPEND} + >=gpe-base/libgpewidget-0.102" + +DEPEND="${DEPEND} + ${RDEPEND}" + +S="${WORKDIR}/${P}-gpe6" + +src_unpack() { + gpe_src_unpack "${@}" + echo install: install-program > "${S}"/build/Makefile.gentoo + epatch "${FILESDIR}"/gsoko-0.4.2-Makefile.patch + # miknix: This packages doesn't currrently support autotools + mv -f gsoko.desktop.in gsoko.desktop + sed -i -e 's/^_//' gsoko.desktop +} diff --git a/gpe-games/xdemineur/Manifest b/gpe-games/xdemineur/Manifest new file mode 100644 index 0000000..8d98def --- /dev/null +++ b/gpe-games/xdemineur/Manifest @@ -0,0 +1,2 @@ +DIST xdemineur-2.1.1.tar.bz2 18183 SHA1 f52ffb52ea5a39fda453925ce5f7c98d0f480ee2 SHA256 75378ad3eacbe32c625de3b4af3e1f6fc9772ab45c1cd1393483d95ac4da3b22 +EBUILD xdemineur-2.1.1.ebuild 646 SHA1 7df33f55e6debe63cef043f453753d209e5b0183 SHA256 88831b30a8bb8b2c669fc1ccc607caf9ded8ed7db2918e5d86f7da1b9764361b diff --git a/gpe-games/xdemineur/xdemineur-2.1.1.ebuild b/gpe-games/xdemineur/xdemineur-2.1.1.ebuild new file mode 100644 index 0000000..b7359b3 --- /dev/null +++ b/gpe-games/xdemineur/xdemineur-2.1.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +GPE_TARBALL_SUFFIX="bz2" +GPE_MIRROR="http://gpe.linuxtogo.org/download/source" +inherit eutils gpe + +DESCRIPTION="Xdemineur is a minesweeper game for the X Window System." + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm ~amd64 ~x86" + + + +src_unpack() { + gpe_src_unpack +} + +RDEPEND="${RDEPEND}" +DEPEND=">=x11-proto/inputproto-1.4 >=x11-proto/xextproto-7.0 ${RDEPEND}" + +src_compile() { + $(tc-getCC) *.c -o xdemineur -lXpm ${CFLAGS} ${LDFLAGS} +} + +src_install() { + mkdir -p ${D}/usr/bin/ + cp xdemineur ${D}/usr/bin/ || die "No flow bro.." +} |