SUMMARY="An open sound system" DESCRIPTION="Open Sound System (OSS) is the first attempt in unifying the \ digital audio architecture for UNIX. OSS is a set of device drivers that \ provide a uniform API across all the major UNIX architectures." HOMEPAGE="http://developer.opensound.com/" COPYRIGHT="1996-2017 Hannu Savolainen and Dev Mazumdar" LICENSE="BSD (2-clause)" REVISION="4" SOURCE_URI="http://www.4front-tech.com/developer/sources/stable/bsd/oss-v$portVersion-build2017-src-bsd.tar.bz2" CHECKSUM_SHA256="8ef2b1b964719b4c356de234d4b28832302027dc23bf636820be1afe1b099972" SOURCE_DIR="oss-v$portVersion-build2017-src-bsd" PATCHES="opensound-$portVersion.patchset" ARCHITECTURES="x86_gcc2 x86_64" GLOBAL_WRITABLE_FILES=" settings/kernel/drivers directory keep-old " PROVIDES=" opensound$secondaryArchSuffix = $portVersion cmd:ossinfo$secondaryArchSuffix cmd:ossmix$secondaryArchSuffix cmd:ossphone$secondaryArchSuffix cmd:ossplay$secondaryArchSuffix cmd:ossrecord$secondaryArchSuffix cmd:osstest$secondaryArchSuffix cmd:savemixer$secondaryArchSuffix cmd:vmixctl$secondaryArchSuffix " REQUIRES=" haiku$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:awk cmd:find cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make " BUILD() { export BEOS_SYSTEM=$prefix mkdir -p build cd build ../configure --config-midi=NO --config-vmix=NO make } INSTALL() { export BEOS_SYSTEM=$prefix cd build make install # they really belong to home/config/settings but well... copyattr -d -r prototype/boot/home/config/settings/* $settingsDir/ }