diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-06-11 11:37:21 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-06-11 12:08:52 +0200 |
commit | 26efbca30515a8674eac90699380b9122be94829 (patch) | |
tree | 296c42b2600972cdb39dcb45ed82a4ec190c8de4 /media-libs/esdl/esdl-1.3.1.ebuild | |
parent | media-libs/libdiscid: x86 stable, bug #578932 (diff) | |
download | gentoo-26efbca30515a8674eac90699380b9122be94829.tar.gz gentoo-26efbca30515a8674eac90699380b9122be94829.tar.bz2 gentoo-26efbca30515a8674eac90699380b9122be94829.zip |
media-libs/esdl: Version bump.
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'media-libs/esdl/esdl-1.3.1.ebuild')
-rw-r--r-- | media-libs/esdl/esdl-1.3.1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/media-libs/esdl/esdl-1.3.1.ebuild b/media-libs/esdl/esdl-1.3.1.ebuild new file mode 100644 index 000000000000..f16933a9ccc6 --- /dev/null +++ b/media-libs/esdl/esdl-1.3.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils fixheadtails multilib + +DESCRIPTION="Erlang bindings for the SDL library" +HOMEPAGE="http://esdl.sourceforge.net/" +SRC_URI="mirror://sourceforge/esdl/${P}.src.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~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} + dev-util/rebar +" + +src_compile() { + rebar compile || die +} + +src_install() { + ERLANG_DIR="/usr/$(get_libdir)/erlang/lib" + ESDL_DIR="${ERLANG_DIR}/${P}" + + find -name 'Makefile*' -exec rm -f '{}' \; + + insinto ${ESDL_DIR} + doins -r ebin c_src include priv src +} |