-
Notifications
You must be signed in to change notification settings - Fork 298
/
opensound-4.2_git.recipe
63 lines (56 loc) · 1.62 KB
/
opensound-4.2_git.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
SUMMARY="The audio architecture Open Sound System (OSS)"
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-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"
SOURCE_DIR="opensound-$COMMIT"
PATCHES="opensound-4.2_git.patchset"
ARCHITECTURES="x86_gcc2 ?x86"
GLOBAL_WRITABLE_FILES="
settings/kernel/drivers directory keep-old
"
PROVIDES="
opensound$secondaryArchSuffix = $portVersion
cmd:ossplay$secondaryArchSuffix
cmd:ossinfo$secondaryArchSuffix
cmd:ossmix$secondaryArchSuffix
cmd:ossphone$secondaryArchSuffix
cmd:ossrecord$secondaryArchSuffix
cmd:osstest$secondaryArchSuffix
cmd:savemixer$secondaryArchSuffix
cmd:vmixctl$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:awk
cmd:find
cmd:make
"
BUILD()
{
mkdir -p build
cd build
../configure --config-midi=NO --config-vmix=NO
make
}
INSTALL()
{
cd build
make build SYSTEM_DIR=system
copyattr -d -r prototype/system/* $prefix/
copyattr -d -r prototype/home/config/settings/* $settingsDir/
}