summaryrefslogtreecommitdiff
blob: 8e5514e78d0d5da484735ca2475fb50e9127bc46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-kids/lletters/lletters-0.1.95-r1.ebuild,v 1.1 2003/09/10 04:51:18 vapier Exp $

IUSE="nls"

S=${WORKDIR}/${P}
DESCRIPTION="Game that helps young kids learn their letters and numbers"
SRC_URI="mirror://sourceforge/lln/${PN}-media-0.1.9a.tar.gz
mirror://sourceforge/lln/${P}.tar.gz"
HOMEPAGE="http://lln.sourceforge.net/"
KEYWORDS="x86"
LICENSE="GPL-2"
SLOT="0"

DEPEND="virtual/x11
	media-libs/imlib
	=x11-libs/gtk+-1.2*"

RDEPEND="nls? ( sys-devel/gettext )"

src_unpack() {

	unpack ${P}.tar.gz
	cd ${S}
	unpack lletters-media-0.1.9a.tar.gz

}

src_compile() {

	local myconf

	use nls || myconf="${myconf} --disable-nls"

	./configure	\
		--prefix=/usr	\
		--infodir=/usr/share/info	\
		--mandir=/usr/share/man	\
		${myconf} || die

	emake || die

}

src_install () {

	make 	\
		prefix=${D}/usr	\
		infodir=${D}/usr/share/info	\
		mandir=${D}/usr/share/man	\
		install || die

}