/[gentoo-x86]/games-kids/lletters/lletters-0.1.95-r2.ebuild
Gentoo

Contents of /games-kids/lletters/lletters-0.1.95-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sun Feb 1 20:45:15 2015 UTC (5 years, 5 months ago) by tupone
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +4 -5 lines
EAPI 5

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)

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-kids/lletters/lletters-0.1.95-r2.ebuild,v 1.9 2012/05/03 03:26:38 jdhore Exp $
4
5 EAPI=5
6 inherit eutils games
7
8 PATCH_LEVEL=3
9
10 DESCRIPTION="Game that helps young kids learn their letters and numbers"
11 HOMEPAGE="http://lln.sourceforge.net"
12 SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}+gtk2.orig.tar.gz
13 mirror://debian/pool/main/l/${PN}/${PN}_${PV}+gtk2-${PATCH_LEVEL}.diff.gz
14 mirror://sourceforge/lln/${PN}-media-0.1.9a.tar.gz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="amd64 ~ppc x86"
19 IUSE="nls"
20
21 RDEPEND="x11-libs/gtk+:2
22 nls? ( virtual/libintl )"
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig
25 nls? ( sys-devel/gettext )"
26
27 src_prepare() {
28 epatch "${WORKDIR}"/${PN}_${PV}+gtk2-${PATCH_LEVEL}.diff \
29 "${FILESDIR}"/${P}-build-2.patch \
30 "${FILESDIR}"/${P}-underlink.patch \
31 "${FILESDIR}"/${P}-make-382.patch
32 cp -r "${WORKDIR}"/{images,sounds} . || die
33 }
34
35 src_configure() {
36 egamesconf $(use_enable nls)
37 }
38
39 src_install () {
40 default
41 newdoc debian/changelog ChangeLog.debian
42 doicon debian/${PN}.xpm
43 make_desktop_entry ${PN} "Linux Letters and Numbers" ${PN}
44 prepgamesdirs
45 }

  ViewVC Help
Powered by ViewVC 1.1.20