blob: 9396ea1afc37ff275c4cea171a788929e08d6ed6 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils autotools
MY_P="${P/sdl-/SDL_}"
DESCRIPTION="library that provides a pseudo-ansi color terminal that can be used with any SDL application"
HOMEPAGE="https://sourceforge.net/projects/sdl-terminal/"
SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="static-libs"
DEPEND="virtual/opengl
virtual/glu
>=media-libs/libsdl-1.2.4[opengl]
media-libs/sdl-ttf"
RDEPEND=${DEPEND}
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${P}-nopython.patch
eautoreconf
}
src_configure() {
econf $(use_enable static-libs static)
}
src_install() {
DOCS="AUTHORS ChangeLog README" \
default
prune_libtool_files
}
|