diff options
Diffstat (limited to 'media-libs/esdl/esdl-1.2.ebuild')
-rw-r--r-- | media-libs/esdl/esdl-1.2.ebuild | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/media-libs/esdl/esdl-1.2.ebuild b/media-libs/esdl/esdl-1.2.ebuild deleted file mode 100644 index 81322a9d83b2..000000000000 --- a/media-libs/esdl/esdl-1.2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" - -inherit fixheadtails multilib eutils - -DESCRIPTION="Erlang bindings for the SDL library" -HOMEPAGE="http://esdl.sourceforge.net/" -SRC_URI="mirror://sourceforge/esdl/${P}.src.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" -IUSE="image truetype" - -RDEPEND=">=dev-lang/erlang-14 - media-libs/libsdl[opengl] - image? ( media-libs/sdl-image ) - truetype? ( media-libs/sdl-ttf ) - virtual/opengl" -DEPEND="${RDEPEND}" - -src_prepare() { - sed -i "/CFLAGS.*=/s:-g -O2 -funroll-loops -Wall -ffast-math:${CFLAGS}:" c_src/Makefile - ht_fix_file Makefile c_src/Makefile - if use image ; then - sed -i "/ENABLE_SDL_IMAGE = /s:no:yes:" Makefile - fi - if use truetype ; then - sed -i "/ENABLE_SDL_TTF = /s:no:yes:" Makefile - fi -} - -src_install() { - addpredict /usr/$(get_libdir)/erlang/lib - ERLANG_DIR="/usr/$(get_libdir)/erlang/lib" - ESDL_DIR="${ERLANG_DIR}/${P}" - dodir ${ESDL_DIR} - make install INSTALLDIR="${D}"/${ESDL_DIR} || die "make install" -} |