media-libs/esdl - 1.3.1 (gentoo)

Search

Install

Install this version:

emerge -a =media-libs/esdl-1.3.1

Package Information

Description:
Erlang bindings for the SDL library
Homepage:
https://esdl.sourceforge.net/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
1.3.1 8 amd64 ppc ppc64 x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Erlang bindings for the SDL library"
HOMEPAGE="https://esdl.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/esdl/${P}.src.tgz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="image truetype"

RDEPEND="
	>=dev-lang/erlang-14[wxwidgets]
	media-libs/libsdl[opengl]
	image? ( media-libs/sdl-image )
	truetype? ( media-libs/sdl-ttf )
	virtual/opengl
"
DEPEND="${RDEPEND}"
BDEPEND="dev-util/rebar:0"

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
}

USE Flags

Manage flags for this package: euse -i <flag> -p media-libs/esdl | euse -E <flag> -p media-libs/esdl | euse -D <flag> -p media-libs/esdl

Global/Standard Flags

Dependencies

DEPEND

	>=dev-lang/erlang-14[wxwidgets]
	media-libs/libsdl[opengl]
	image? ( media-libs/sdl-image )
	truetype? ( media-libs/sdl-ttf )
	virtual/opengl

RDEPEND

	>=dev-lang/erlang-14[wxwidgets]
	media-libs/libsdl[opengl]
	image? ( media-libs/sdl-image )
	truetype? ( media-libs/sdl-ttf )
	virtual/opengl

BDEPEND

dev-util/rebar:0

Manifest for 1.3.1

Type File Size Source URLs
DIST esdl-1.3.1.src.tgz 308475 bytes https://downloads.sourceforge.net/esdl/esdl-1.3.1.src.tgz