SUMMARY="Open Sound System audio architecture" 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-2019 Hannu Savolainen and Dev Mazumdar" LICENSE="BSD (2-clause)" REVISION="5" SOURCE_URI="http://www.4front-tech.com/developer/sources/stable/bsd/oss-v$portVersion-build2019-src-bsd.tar.bz2" CHECKSUM_SHA256="3eaa2f66cc5f9cc66843eae9ae4601cf7206d00e7229d1f3144a122adea4e7c9" SOURCE_DIR="oss-v$portVersion-build2019-src-bsd" PATCHES="opensound-$portVersion.patchset" ARCHITECTURES="all" 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/ }