/[gentoo-x86]/games-rpg/kqlives/kqlives-0.99.ebuild
Gentoo

Contents of /games-rpg/kqlives/kqlives-0.99.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Mar 1 18:12:56 2015 UTC (5 years, 2 months ago) by tupone
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +4 -6 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-rpg/kqlives/kqlives-0.99.ebuild,v 1.6 2012/05/02 21:10:33 jdhore Exp $
4
5 EAPI=5
6 inherit eutils games
7
8 MY_P=${P/lives}
9
10 DESCRIPTION="A console-style role playing game"
11 HOMEPAGE="http://kqlives.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE="cheats nls"
18
19 RDEPEND=">=x11-libs/gtk+-2.8:2
20 >=gnome-base/libglade-2.4
21 media-libs/allegro:0
22 media-libs/aldumb
23 dev-lang/lua
24 nls? ( virtual/libintl )"
25 DEPEND="${RDEPEND}
26 virtual/pkgconfig
27 nls? ( sys-devel/gettext )"
28
29 S=${WORKDIR}/${MY_P}
30
31 src_configure() {
32 egamesconf \
33 $(use_enable nls) \
34 $(use_enable cheats)
35 }
36
37 src_install() {
38 default
39
40 local x
41 for x in diff draw draw2 dump; do
42 mv -vf "${D}${GAMES_BINDIR}"/map${x} "${D}${GAMES_BINDIR}"/kq-map${x}
43 done
44
45 doicon "${FILESDIR}"/${PN}.xpm
46 make_desktop_entry kq KqLives ${PN}
47
48 prepgamesdirs
49 }

  ViewVC Help
Powered by ViewVC 1.1.20