DESCRIPTION="Open Sound System - " 
HOMEPAGE="http://developer.opensound.com/" 
SOURCE_URI="http://www.4front-tech.com/developer/sources/stable/bsd/oss-v4.2-build2002-src-bsd.tar.bz2"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="da28b1fea261554a1480fcd3c5509cb5"
BUILD()
{
	cd oss-v4.2-build2002-src-bsd
	mkdir -p build
	cd build
	../configure
	make
}

INSTALL()
{
	cd oss-v4.2-build2002-src-bsd/build
	if [ -n "${DESTDIR}" ];then
		make package
		mkdir -p ${DESTDIR}/boot
		unzip oss-beos-v4.2-2002.zip -d ${DESTDIR}/boot
	else
		make install
	fi
}
LICENSE="BSD (2-clause)"
COPYRIGHT="1996-2009"
