opensound: Fix the 4.2~git recipe

This commit is contained in:
François Revol
2017-11-30 16:07:36 +01:00
parent 53e4a9f269
commit e63581c1eb

View File

@@ -7,10 +7,8 @@ COPYRIGHT="1996-2008 Hannu Savolainen and Dev Mazumdar"
LICENSE="BSD (2-clause)"
REVISION="2"
COMMIT="f6048993e04bb50e8e98b7e4f4eadfae3e736fec"
SOURCE_URI="https://github.com/OldRepoPreservation/opensound/archive/$COMMIT.tar.gz
git://opensound.git.sourceforge.net/gitroot/opensound/opensound#$COMMIT"
CHECKSUM_SHA256="bd8000fecb37e63294614598777bedda693cbc419e4e56aef74385025245249c"
COMMIT="cd2ae052d390c4811acd10553b327bb94fa2abb0"
SOURCE_URI="git://opensound.git.sourceforge.net/gitroot/opensound/opensound#$COMMIT"
SOURCE_DIR="opensound-$COMMIT"
PATCHES="opensound-4.2_git.patchset"
@@ -48,6 +46,7 @@ BUILD_PREREQUIRES="
BUILD()
{
export BEOS_SYSTEM=$prefix
mkdir -p build
cd build
../configure --config-midi=NO --config-vmix=NO
@@ -56,8 +55,9 @@ BUILD()
INSTALL()
{
export BEOS_SYSTEM=$prefix
cd build
make build SYSTEM_DIR=system
copyattr -d -r prototype/system/* $prefix/
copyattr -d -r prototype/home/config/settings/* $settingsDir/
make install
# they really belong to home/config/settings but well...
copyattr -d -r prototype/boot/home/config/settings/* $settingsDir/
}