/[gentoo-x86]/games-strategy/gwp/gwp-0.4.0-r2.ebuild
Gentoo

Contents of /games-strategy/gwp/gwp-0.4.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Thu Jan 29 10:15:35 2015 UTC (4 years, 9 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
drop old

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-strategy/gwp/gwp-0.4.0-r2.ebuild,v 1.9 2015/01/29 10:12:01 pacho Exp $
4
5 EAPI=2
6 inherit eutils flag-o-matic gnome2
7
8 DESCRIPTION="GNOME client for the classic PBEM strategy game VGA Planets 3"
9 HOMEPAGE="http://gwp.lunix.com.ar/"
10 SRC_URI="http://gwp.lunix.com.ar/releases/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE="nls opengl python"
16
17 RDEPEND="x11-libs/gtk+:2
18 =gnome-base/libgnomeui-2*
19 =gnome-base/libglade-2*
20 app-text/scrollkeeper
21 dev-libs/libpcre
22 nls? ( virtual/libintl )
23 opengl? ( =x11-libs/gtkglext-1* )
24 python? ( =dev-python/pygtk-2* )"
25 DEPEND="${RDEPEND}
26 virtual/pkgconfig
27 nls? ( sys-devel/gettext )"
28
29 src_prepare() {
30 append-libs -lm
31 gnome2_src_prepare
32 epatch \
33 "${FILESDIR}"/${P}-gcc41.patch \
34 "${FILESDIR}"/${P}-exec-stack.patch
35 sed -i \
36 -e '/ -O1/d' \
37 -e '/ -g$/d' \
38 src/Makefile.in || die
39 }
40
41 src_configure() {
42 gnome2_src_configure \
43 $(use_enable nls) \
44 $(use_enable opengl gtkglext) \
45 $(use_enable python)
46 }
47
48 src_install() {
49 DOCS="AUTHORS ChangeLog CHANGES README TODO" \
50 gnome2_src_install
51 rm -rf "${D}"/usr/share/doc/gwp
52 }

  ViewVC Help
Powered by ViewVC 1.1.20