DESCRIPTION="Open Sound System"
HOMEPAGE="http://developer.opensound.com/"
SRC_URI="hg+http://opensound.hg.sourceforge.net:8000/hgroot/opensound/opensound/#232d0de71550"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
	cd opensound-232d0de71550
	mkdir -p build
	cd build
	../configure --config-midi=NO --config-vmix=NO
	make
}

INSTALL()
{
	cd opensound-232d0de71550/build
	if [ -n "${DESTDIR}" ];then
		make package
		mkdir -p ${DESTDIR}/boot
		cp -R prototype/* ${DESTDIR}/boot
	else
		make install
	fi
}
LICENSE="BSD (2-clause)"
COPYRIGHT="1996-2009"
