# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="OSS Wrapper for Network Audio System" HOMEPAGE="http://romeo.skybert.no/~erik/linux.html/" SRC_URI="http://romeo.skybert.no/~erik/audiooss-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=media-libs/nas-1.5 =x11-base/xfree" #The only reason that xfree is needed is because the guy who wrote this stuff #decided to make use xmkmf instead of autoconf. Note that this is true of NAS itself. S=${WORKDIR}/audiooss-${PV} #Not sure how to optimize these things... src_compile() { xmkmf -a emake || die #make || die } src_install() { make DESTDIR=${D} install || die dodoc ChangeLog README FAQ } pkg_postinst() { einfo einfo "This package is OUTPUT ONLY!" einfo "In order to work, you must export AUDIOSERVER=port," einfo "where the port is the port of your NAS server." einfo "You must also preload (using LD_PRELOAD, etc) the libaudiooss.so.1.0 driver" einfo }