mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Add Csound (#951)
This commit is contained in:
committed by
waddlesplash
parent
c5a45f5ee5
commit
0fa4a40c4a
50
media-sound/csound/csound-6.06.0.recipe
Normal file
50
media-sound/csound/csound-6.06.0.recipe
Normal file
@@ -0,0 +1,50 @@
|
||||
SUMMARY="A sound processing language and software synthesizer"
|
||||
DESCRIPTION="Csound is a user-programmable and user-extensible sound processing \
|
||||
language and software synthesizer. It is not restricted to any style of music, \
|
||||
having been used for many years in at least classical, pop, techno, and ambient."
|
||||
HOMEPAGE="https://github.com/csound/csound"
|
||||
COPYRIGHT="1991 Barry Vercoe, John ffitch"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
srcGitRev="be2e7e36946ce767329d330c5cf926def3aa5851"
|
||||
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="6db8221e2074d9b9acb5eb0572da4406b11c5a896098a774f120b38927be4fb4"
|
||||
SOURCE_DIR="Csound-$srcGitRev"
|
||||
PATCHES="csound-$portVersion.patch"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
csound$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libsndfile$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
boost${secondaryArchSuffix}_devel
|
||||
devel:libsndfile$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$prefix ..
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
mv $prefix/include $oldIncludeDir
|
||||
}
|
||||
Reference in New Issue
Block a user