/[gentoo-x86]/games-arcade/jvgs/jvgs-0.5.ebuild
Gentoo

Contents of /games-arcade/jvgs/jvgs-0.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Jun 2 01:39:52 2015 UTC (2 years, 11 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
add slot dep for repoman

(Portage version: 2.2.18/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-arcade/jvgs/jvgs-0.5.ebuild,v 1.5 2015/01/05 10:05:55 tupone Exp $
4
5 EAPI=5
6 CMAKE_IN_SOURCE_BUILD=1
7 inherit cmake-utils eutils games
8
9 DESCRIPTION="An open-source platform game with a sketched and minimalistic look"
10 HOMEPAGE="http://jvgs.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/jvgs/${P}-src.tar.gz"
12
13 LICENSE="WTFPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 RDEPEND="virtual/opengl
19 dev-lang/lua:0
20 sys-libs/zlib
21 media-libs/libsdl[video]
22 media-libs/sdl-mixer[vorbis]
23 media-libs/freetype:2"
24 DEPEND="${RDEPEND}
25 dev-lang/swig"
26
27 S=${WORKDIR}/${P}-src
28
29 src_prepare() {
30 epatch "${FILESDIR}"/${P}-flags.patch
31 }
32
33 src_configure() {
34 cmake-utils_src_configure
35 }
36
37 src_compile() {
38 cmake-utils_src_compile
39 }
40
41 src_install() {
42 exeinto "$(games_get_libdir)"
43 doexe src/${PN}
44
45 insinto "${GAMES_DATADIR}"/${PN}
46 doins -r main.lua resources
47
48 games_make_wrapper ${PN} "/$(games_get_libdir)/${PN}" \
49 "${GAMES_DATADIR}/${PN}"
50
51 newicon resources/drawing.svg ${PN}.svg
52 make_desktop_entry ${PN} ${PN}
53
54 dodoc AUTHORS README.markdown
55
56 prepgamesdirs
57 }

  ViewVC Help
Powered by ViewVC 1.1.20