# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/adplay/adplay-1.5.ebuild,v 1.6 2008/04/10 17:10:30 drac Exp $ inherit eutils IUSE="alsa esd oss sdl" DESCRIPTION="A console player for AdLib music" HOMEPAGE="http://adplug.sourceforge.net/" SRC_URI="mirror://sourceforge/adplug/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc sparc x86" DEPEND="media-libs/adplug dev-cpp/libbinio" src_compile() { local myconf use alsa || myconf="${myconf} --disable-output-alsa" use oss || myconf="${myconf} --disable-output-oss" use esd || myconf="${myconf} --disable-output-esound" use sdl || myconf="${myconf} --disable-output-sdl" econf ${myconf} || die emake || die "emake failed" } src_install() { make DESTDIR="${D}" install || die }