You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/sdl-terminal/sdl-terminal-1.1.3-r1.ebuild

35 lines
872 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-terminal/sdl-terminal-1.1.3-r1.ebuild,v 1.6 2013/11/13 05:08:30 mr_bones_ Exp $
EAPI=4
inherit base libtool
MY_P="${P/sdl-/SDL_}"
DESCRIPTION="library that provides a pseudo-ansi color terminal that can be used with any SDL application"
HOMEPAGE="http://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
>=media-libs/libsdl-1.2.4
media-libs/sdl-ttf"
S=${WORKDIR}/${MY_P}
DOCS=( AUTHORS ChangeLog README )
PATCHES=( "${FILESDIR}"/${P}-python-libs-path.patch )
src_configure() {
econf $(use_enable static-libs static)
}
src_install() {
default
use static-libs || prune_libtool_files
}