/[gentoo-x86]/games-board/ccgo/ccgo-0.3.6.4.ebuild
Gentoo

Contents of /games-board/ccgo/ccgo-0.3.6.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri May 4 04:30:11 2012 UTC (23 months, 2 weeks ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-board/ccgo/ccgo-0.3.6.4.ebuild,v 1.4 2011/03/29 07:52:01 angelos Exp $
4
5 EAPI=2
6 inherit autotools games
7
8 DESCRIPTION="An IGS client written in C++"
9 HOMEPAGE="http://ccdw.org/~cjj/prog/ccgo/"
10 SRC_URI="http://ccdw.org/~cjj/prog/ccgo/src/${P}.tar.gz"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc x86"
15 IUSE="nls"
16
17 RDEPEND=">=dev-cpp/gtkmm-2.4:2.4
18 >=dev-cpp/gconfmm-2.6
19 nls? ( virtual/libintl )"
20 DEPEND="${RDEPEND}
21 virtual/pkgconfig
22 nls? ( sys-devel/gettext )"
23
24 src_prepare() {
25 sed -i \
26 -e '/^Encoding/d' \
27 -e '/^Categories/s/Application;//' \
28 ccgo.desktop.in \
29 || die 'sed failed'
30 sed -i \
31 -e '/^localedir/s/=.*/=@localedir@/' \
32 -e '/^appicondir/s:=.*:=/usr/share/pixmaps:' \
33 -e '/^desktopdir/s:=.*:=/usr/share/applications:' \
34 Makefile.am \
35 || die 'sed failed'
36 eautoreconf
37 }
38
39 src_configure() {
40 egamesconf \
41 --disable-dependency-tracking \
42 --localedir=/usr/share/locale \
43 $(use_enable nls)
44 }
45
46 src_install() {
47 emake DESTDIR="${D}" install || die 'emake install failed'
48 prepgamesdirs
49 }

  ViewVC Help
Powered by ViewVC 1.1.20