diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-06-19 19:15:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-06-19 19:15:13 +0000 |
commit | 74e248aa7ea7d32de7cd078d7ac5d58940c7dce6 (patch) | |
tree | bfe33413ba8f328f6501a77915433d753a0ee890 /media-libs/esdl | |
parent | added media-radio (diff) | |
download | gentoo-2-74e248aa7ea7d32de7cd078d7ac5d58940c7dce6.tar.gz gentoo-2-74e248aa7ea7d32de7cd078d7ac5d58940c7dce6.tar.bz2 gentoo-2-74e248aa7ea7d32de7cd078d7ac5d58940c7dce6.zip |
old file
Diffstat (limited to 'media-libs/esdl')
-rw-r--r-- | media-libs/esdl/esdl-0.93.0314.ebuild | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/media-libs/esdl/esdl-0.93.0314.ebuild b/media-libs/esdl/esdl-0.93.0314.ebuild deleted file mode 100644 index 2d09fd8a7d45..000000000000 --- a/media-libs/esdl/esdl-0.93.0314.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/esdl/esdl-0.93.0314.ebuild,v 1.2 2003/06/18 19:46:18 george Exp $ - -IUSE="" - -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-9b - >=media-libs/libsdl-1.2.4 - x11-base/opengl-update" - -#openGL state tracking -MY_OpenGL="xfree" - -pkg_setup() { - #check whether we have nvidia opengl active - if [ -n "`ls -l /usr/lib/libGL.so|grep nvidia`" ]; then - MY_OpenGL="nvidia" - einfo "detected nvidia drivers" - einfo "activating Mesa implementation temporarily" - opengl-update xfree - else - einfo "nvidia openGL is not active" - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - #Makefile wants to install some docs that arent' actually there - epatch ${FILESDIR}/${P}.patch.bz2 -} - -src_compile() { - make CFLAGS="${CFLAGS}" || die -} - -src_install() { - ERLANG_DIR="/usr/lib/erlang/lib/" - ESDL_DIR="${ERLANG_DIR}/${P}" - dodir ${ESDL_DIR} - - make install INSTALLDIR=${D}/${ESDL_DIR} || die - cp include/* ${D}/${ESDL_DIR}/include/ || die - dosym ${ESDL_DIR} ${ERLANG_DIR}/${PN} - dodoc Readme license.terms - mv ${D}/${ESDL_DIR}/doc/ ${D}/usr/share/doc/${PF}/html/ -} - -pkg_postinst() { - #now we need to activate proper openGL again - if [ $MY_OpenGL == "nvidia" ]; then - opengl-update nvidia - einfo "activating nvidia drivers" - fi -} |