# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/media-libs/esdl/esdl-0.93.0131.ebuild,v 1.2 2003/02/17 19:19:54 vapier Exp $ DESCRIPTION="Erlang bindings for the SDL library" SRC_URI="mirror://sourceforge/esdl/${P}.src.tar.gz" HOMEPAGE="http://esdl.sourceforge.net/" LICENSE="BSD" SLOT="0" KEYWORDS="x86" DEPEND=">=dev-lang/erlang-9c >=media-libs/libsdl-1.2.4" src_compile() { emake || die } src_install() { ERLANG_DIR="/usr/lib/erlang/lib/" ESDL_DIR="${ERLANG_DIR}/${P}" dodir ${ESDL_DIR} make install INSTALLDIR=${D}/${ESDL_DIR} || die dosym ${ESDL_DIR} ${ERLANG_DIR}/${PN} }