Portage is a package management system used by Gentoo Linux
# ChangeLog for games-strategy/gwp
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/gwp/ChangeLog,v 1.4 2008/01/22 08:04:04 nyhm Exp $
22 Jan 2008; Tristan Heaven
Add pkgconfig dep, bug #206427
*gwp-0.4.0-r2 (02 Jul 2007)
02 Jul 2007; Tristan Heaven
+files/gwp-0.4.0-exec-stack.patch, files/gwp-0.4.0-gcc41.patch,
-gwp-0.4.0-r1.ebuild, +gwp-0.4.0-r2.ebuild:
Patch (hack) to prevent executable stack requirement
*gwp-0.4.0-r1 (02 Oct 2006)
02 Oct 2006; Tristan Heaven
Switch from games to gnome2 eclass to get GNOME and locale files installed
into the right directories
*gwp-0.4.0 (06 Jun 2006)
06 Jun 2006; Chris Gianelloni
+files/gwp-0.4.0-gcc41.patch, +metadata.xml, +gwp-0.4.0.ebuild:
Initial import. Original ebuild by James Jones
by me. Updated ebuild provided by Tom Wesley
me. Closing bug #56533.
AUX gwp-0.4.0-exec-stack.patch 2842 RMD160 b4b99b2c9b70fc4ca33e75180049d35319d13809 SHA1 fdff1b9cb8e1dc81ddabcb3e90dfc0eb18be762e SHA256 645f0b054e476ce11e7d4b5c7fe6a9402122afb02dc69b70b15c51c808aa80d5
AUX gwp-0.4.0-gcc41.patch 4100 RMD160 1151fa736252784f6d0f8c72e9ca46ae145a090c SHA1 869a369c99f526a6be98b34f35869671aa7d4937 SHA256 36f37f2f7e2444830fd5216df3060ee74eab5108dd0daa2ce71970821ed05367
DIST gwp-0.4.0.tar.gz 2294453 RMD160 59b585551cb075c4823d7ccfa3172b55314f0a11 SHA1 6451ca679c1e6cbf917c1012b4d3d6092dd5ac0a SHA256 e2734e019e2c3ef28cb0abd524c193ec5beb35d2bc8ba3e10652fac45c8bbe99
EBUILD gwp-0.4.0-r2.ebuild 1214 RMD160 df75e9764c89137c2746661e6d71e8be2de08548 SHA1 b40580730b16967fb997273868cf8daf06597d95 SHA256 c9759402a1201a4ae78677f751c9cc2602d23be1844a1065096819a89ea31bd1
MISC ChangeLog 1089 RMD160 2ed39945376db5981e288e05f94f23f2caa52f24 SHA1 f9846e46f5373d9b3f86799005de16ccdceb695b SHA256 e51c8befcfb5cdce1bce1925a0ff9cdc019ae201a1e20568eee93ed93f0bb5e5
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/gwp/gwp-0.4.0-r2.ebuild,v 1.2 2008/01/22 08:04:04 nyhm Exp $
inherit eutils gnome2
DESCRIPTION="GNOME client for the classic PBEM strategy game VGA Planets 3"
HOMEPAGE="http://gwp.lunix.com.ar/"
SRC_URI="http://gwp.lunix.com.ar/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls opengl python"
RDEPEND="=x11-libs/gtk+-2*
=gnome-base/libgnomeui-2*
=gnome-base/libglade-2*
app-text/scrollkeeper
dev-libs/libpcre
nls? ( virtual/libintl )
opengl? ( =x11-libs/gtkglext-1* )
python? ( =dev-python/pygtk-2* )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
nls? ( sys-devel/gettext )"
src_unpack() {
gnome2_src_unpack
epatch \
"${FILESDIR}"/${P}-gcc41.patch \
"${FILESDIR}"/${P}-exec-stack.patch
sed -i \
-e '/ -O1/d' \
-e '/ -g$/d' \
src/Makefile.in \
|| die "sed failed"
}
src_compile() {
gnome2_src_compile \
$(use_enable nls) \
$(use_enable opengl gtkglext) \
$(use_enable python)
}
src_install() {
DOCS="AUTHORS ChangeLog CHANGES README TODO" \
gnome2_src_install
rm -rf "${D}"/usr/share/doc/gwp
}