blob: c35dfff267065859fcfd2af71c9bf4cc60861872 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/blinkensisters/blinkensisters-0.5.1.ebuild,v 1.3 2008/11/18 01:34:58 flameeyes Exp $
inherit flag-o-matic
DESCRIPTION="BlinkenSisters - Hunt for the Lost Pixels"
HOMEPAGE="http://www.blinkensisters.org/"
SRC_URI="mirror://sourceforge/${PN}/LostPixels-${PV}-source.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND="media-libs/libsdl
media-libs/sdl-mixer
media-libs/sdl-image
media-libs/sdl-net
media-libs/sdl-ttf
media-libs/libogg
media-libs/libvorbis"
DEPEND="${RDEPEND}
dev-util/cmake"
S=${WORKDIR}/${PN}
src_compile() {
cd "${S}"/lostpixels/game/software/cmake-build
cmake ..
emake || die "make failed"
}
src_install() {
cd "${S}"/lostpixels/game/software/cmake-build
sed -e 's#CMAKE_INSTALL_PREFIX "/usr/local"#CMAKE_INSTALL_PREFIX "/usr"#' \
cmake_install.cmake > cmake_install.cmake.tmp \
&& mv -f cmake_install.cmake.tmp cmake_install.cmake
emake DESTDIR="${D}" install || die "make install failed"
dodoc "${S}"/lostpixels/game/software/DOC/*
}
|