Don't use egamesinstall
authorTristan Heaven <tristan@gentoo.org>
Sat, 3 Feb 2007 09:13:06 +0000 (09:13 +0000)
committerTristan Heaven <tristan@gentoo.org>
Sat, 3 Feb 2007 09:13:06 +0000 (09:13 +0000)
Package-Manager: portage-2.1.2-r6

games-arcade/burgerspace/ChangeLog
games-arcade/burgerspace/Manifest
games-arcade/burgerspace/burgerspace-1.8.1.ebuild
games-arcade/burgerspace/files/burgerspace-1.8.1-build.patch [new file with mode: 0644]

index 876f9caac2964902dfce92b7b059cc422bc941bf..f4525ad862d8feb545d66069e269a275a5e82bd8 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for games-arcade/burgerspace
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/burgerspace/ChangeLog,v 1.6 2006/09/20 16:41:27 blubb Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/burgerspace/ChangeLog,v 1.7 2007/02/03 09:13:06 nyhm Exp $
+
+  03 Feb 2007; Tristan Heaven <nyhm@gentoo.org>
+  +files/burgerspace-1.8.1-build.patch, burgerspace-1.8.1.ebuild:
+  Don't use egamesinstall
 
   20 Sep 2006; <blubb@gentoo.org> burgerspace-1.8.1.ebuild:
   stable on amd64
index 980f31d6864110982d9d6cca01fd3b5b6d923b35..36525db65d8cf42237c31111da633387f19e4ce4 100644 (file)
@@ -1,12 +1,19 @@
-DIST burgerspace-1.8.1.tar.gz 222067 RMD160 379b64ac2cefc76683e4480028c55c5950047e5c SHA256 9183f3a37bc19e3eea8cfcac3c6a6f22288475fe2ba80b7442144833ea80422b
-EBUILD burgerspace-1.8.1.ebuild 864 RMD160 dfd6d067a85cf20e46a37fecf6686aeaef73b0bf SHA1 2d09d1f2b3355bb9b6ff5167fcaf282cce1571e2 SHA256 ad4ac10d8bdc8aa24933106ef5454eddcc780dd748a2c0903563393eb5f83d75
-MD5 7cc9a6e3d4584fa44d8b3107e6614657 burgerspace-1.8.1.ebuild 864
-RMD160 dfd6d067a85cf20e46a37fecf6686aeaef73b0bf burgerspace-1.8.1.ebuild 864
-SHA256 ad4ac10d8bdc8aa24933106ef5454eddcc780dd748a2c0903563393eb5f83d75 burgerspace-1.8.1.ebuild 864
-MISC ChangeLog 904 RMD160 acb87be3ee44c8e188b285dafa15a79bc7c091a8 SHA1 0665ee355d5161fd0d9daf0bab798529688ae27f SHA256 82ff2164e002e5846708aba627208b15446ff1d9153ff06a92be934198166fe2
-MD5 d00dc61eed4222e81bc477141aad8b95 ChangeLog 904
-RMD160 acb87be3ee44c8e188b285dafa15a79bc7c091a8 ChangeLog 904
-SHA256 82ff2164e002e5846708aba627208b15446ff1d9153ff06a92be934198166fe2 ChangeLog 904
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX burgerspace-1.8.1-build.patch 818 RMD160 96f54b2a3641481d842bde819c44a4081e35c15c SHA1 f6de7a7a806c7e5c7bd4ce2ea90fec99c9f559e7 SHA256 b19c0fb4c43183d0b0e4514eaed72fc2b9a85b44de5a6536abbb1e58df499376
+MD5 d44f0d34b815802906316410b584eba7 files/burgerspace-1.8.1-build.patch 818
+RMD160 96f54b2a3641481d842bde819c44a4081e35c15c files/burgerspace-1.8.1-build.patch 818
+SHA256 b19c0fb4c43183d0b0e4514eaed72fc2b9a85b44de5a6536abbb1e58df499376 files/burgerspace-1.8.1-build.patch 818
+DIST burgerspace-1.8.1.tar.gz 222067 RMD160 379b64ac2cefc76683e4480028c55c5950047e5c SHA1 ad8c8830d61bbff551412dcaa0b6d0898faaab70 SHA256 9183f3a37bc19e3eea8cfcac3c6a6f22288475fe2ba80b7442144833ea80422b
+EBUILD burgerspace-1.8.1.ebuild 865 RMD160 d20ca6c1eafb36c275c5e62ab795b908d67e1c36 SHA1 756c2f4d263c71a0c47d0c308d0681143ff66966 SHA256 102d73643b5308f8be3a5c9bb4f9a95f310edbc16f7b57bbe6e91a61459338ab
+MD5 52fd830acdf8fa4dc4052ed2c456ebcc burgerspace-1.8.1.ebuild 865
+RMD160 d20ca6c1eafb36c275c5e62ab795b908d67e1c36 burgerspace-1.8.1.ebuild 865
+SHA256 102d73643b5308f8be3a5c9bb4f9a95f310edbc16f7b57bbe6e91a61459338ab burgerspace-1.8.1.ebuild 865
+MISC ChangeLog 1044 RMD160 09f13d512cfb52bfeac160eb9b9ddb9e5525a857 SHA1 3bd09838b0795d6c0debc339909f76568a8790de SHA256 f9c379c673154ebedb9b3c5bb721520cd1ee06871df44dfb56a68b8220852005
+MD5 8e7c2c727a3ad710eed38e3883ac2514 ChangeLog 1044
+RMD160 09f13d512cfb52bfeac160eb9b9ddb9e5525a857 ChangeLog 1044
+SHA256 f9c379c673154ebedb9b3c5bb721520cd1ee06871df44dfb56a68b8220852005 ChangeLog 1044
 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -14,3 +21,10 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
 MD5 45ab1309fff8353b3d8382613ab0879e files/digest-burgerspace-1.8.1 253
 RMD160 026b83064758bfa9c2c598a7c92b15ef04aef343 files/digest-burgerspace-1.8.1 253
 SHA256 041214023a2233ec9ef088a08bdc6ac7720324f66475a225a5ccb2df15c4a19e files/digest-burgerspace-1.8.1 253
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFFxFIpdz7hIScOURERAqfiAKDRsj5kXpJTclBd40A6TVVi7BoWKwCgombM
+V0I0W70IFtUQ4UVdJFDyXfk=
+=2bWG
+-----END PGP SIGNATURE-----
index 65a6f1c0e637312c8070933855e77491ac42e62f..9101b6f145302ff67dcbff0aa316edfcffb235f1 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/burgerspace/burgerspace-1.8.1.ebuild,v 1.7 2006/09/20 16:41:27 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/burgerspace/burgerspace-1.8.1.ebuild,v 1.8 2007/02/03 09:13:06 nyhm Exp $
 
-inherit games
+inherit autotools eutils games
 
 DESCRIPTION="Clone of the 1982 BurgerTime video game by Data East"
 HOMEPAGE="http://www3.sympatico.ca/sarrazip/dev/burgerspace.html"
@@ -13,18 +13,20 @@ SLOT="0"
 KEYWORDS="amd64 ppc ~sparc x86"
 IUSE=""
 
-DEPEND=">=media-libs/libsdl-1.2.4
-       >=media-libs/sdl-image-1.2
+DEPEND="media-libs/libsdl
+       media-libs/sdl-image
        media-libs/sdl-mixer
        dev-games/flatzebra"
 
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       epatch "${FILESDIR}"/${P}-build.patch
+       AT_M4DIR=macros eautoreconf
+}
+
 src_install() {
-       egamesinstall \
-               docdir="${D}/usr/share/doc/${PF}" \
-               desktopentrydir="${D}/usr/share/applications" \
-               pixmapdir="${D}/usr/share/pixmaps" \
-               || die
-       rm -f "${D}/usr/share/doc/${PF}"/{COPYING,INSTALL}
-       prepalldocs
+       emake DESTDIR="${D}" install || die "emake install failed"
+       dodoc AUTHORS HACKING NEWS README THANKS TODO
        prepgamesdirs
 }
diff --git a/games-arcade/burgerspace/files/burgerspace-1.8.1-build.patch b/games-arcade/burgerspace/files/burgerspace-1.8.1-build.patch
new file mode 100644 (file)
index 0000000..a432a04
--- /dev/null
@@ -0,0 +1,42 @@
+--- Makefile.am
++++ Makefile.am
+@@ -4,15 +4,6 @@
+ man_MANS = doc/burgerspace.6
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
+-doc_DATA = \
+-      AUTHORS \
+-      COPYING \
+-      INSTALL \
+-      NEWS \
+-      README \
+-      THANKS \
+-      TODO
+ RPMBUILD = rpmbuild
+ rpm: dist
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -33,10 +33,10 @@
+       PKGSOUNDDIR=$(srcdir)/sounds ./$(PACKAGE)
+-desktopentrydir = $(datadir)/applications
++desktopentrydir = /usr/share/applications
+ desktopentry_DATA = $(PACKAGE).desktop
+-pixmapdir = $(datadir)/pixmaps
++pixmapdir = /usr/share/pixmaps
+ pixmap_DATA = images/$(PACKAGE).png
+@@ -152,7 +152,7 @@
+       images/digit8.xpm \
+       images/digit9.xpm
+-pkgsounddir = $(datadir)/sounds/$(PACKAGE)
++pkgsounddir = $(pkgdatadir)
+ pkgsound_DATA = \
+       sounds/ingredient-bounces.wav \
+       sounds/ingredient-in-plate.wav \