51 lines
1.2 KiB
Bash
51 lines
1.2 KiB
Bash
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="2"
|
|
srcGitRev="be2e7e36946ce767329d330c5cf926def3aa5851"
|
|
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="6db8221e2074d9b9acb5eb0572da4406b11c5a896098a774f120b38927be4fb4"
|
|
SOURCE_DIR="Csound-$srcGitRev"
|
|
PATCHES="csound-$portVersion.patch"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
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
|
|
}
|