/[gentoo-x86]/games-puzzle/groundhog/groundhog-1.4.ebuild
Gentoo

Contents of /games-puzzle/groundhog/groundhog-1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.26 - (show annotations) (download)
Sat Jan 24 08:39:46 2015 UTC (5 years ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.25: +10 -12 lines
EAPI=5

(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

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-puzzle/groundhog/groundhog-1.4.ebuild,v 1.25 2012/07/29 20:49:21 hasufell Exp $
4
5 EAPI=5
6 inherit eutils autotools games
7
8 DEB_VER="9"
9 DESCRIPTION="Put the balls in the pockets of the same color by manipulating a maze of tubes"
10 HOMEPAGE="http://home-2.consunet.nl/~cb007736/groundhog.html"
11 SRC_URI="http://home-2.consunet.nl/~cb007736/${P}.tar.gz
12 mirror://debian/pool/main/g/groundhog/groundhog_${PV}-${DEB_VER}.diff.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ppc x86"
17 IUSE="nls"
18
19 RDEPEND="x11-libs/gtk+:2
20 nls? ( virtual/libintl )"
21 DEPEND="${RDEPEND}
22 virtual/pkgconfig
23 nls? ( sys-devel/gettext )"
24
25 src_prepare() {
26 cd "${WORKDIR}"
27 epatch groundhog_${PV}-${DEB_VER}.diff
28 cd "${S}"
29 sed -e "s:groundhog-1.4/::" -i \
30 debian/patches/sv.po.patch || die
31 epatch \
32 $(sed -e 's:^:debian/patches/:' debian/patches/series) \
33 "${FILESDIR}"/${P}-flags.patch
34 mv configure.in configure.ac || die
35 AT_M4DIR="m4" eautoreconf
36 sed -i 's:$(localedir):/usr/share/locale:' \
37 $(find . -name 'Makefile.in*') || die
38 }
39
40 src_configure() {
41 egamesconf $(use_enable nls)
42 }
43
44 src_install() {
45 default
46 prepgamesdirs
47 }

  ViewVC Help
Powered by ViewVC 1.1.20