Files
haikuports/haiku-apps/sawteeth/sawteeth-1.3.recipe
2015-08-04 12:08:31 -04:00

46 lines
1.0 KiB
Bash

SUMMARY="A Soft-synthesizer with tracker"
DESCRIPTION="Sawteeth is a soft-synth (with tracker) for BeOS and Haiku, meant \
to either create cool synth sounds to use in Cubase and such, or cute \
chip-tunes. It uses no samples but only generated waveforms."
HOMEPAGE="https://github.com/pulkomandy/Sawteeth/"
SOURCE_URI="git+https://github.com/pulkomandy/Sawteeth#f6fa08f34d"
LICENSE="MIT"
COPYRIGHT="2001 Jonas Norberg"
REVISION="3"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
sawteeth = $portVersion
app:sawteeth = $portVersion
"
REQUIRES="
haiku
"
BUILD_PREREQUIRES="
cmd:make
cmd:cmake
cmd:gcc
"
BUILD_REQUIRES="
haiku_devel
"
BUILD()
{
cmake .
make $jobArgs
}
INSTALL()
{
SAWTEETH_DIR=${appsDir}/Sawteeth
mkdir -p ${SAWTEETH_DIR}/sounds
mkdir -p ${SAWTEETH_DIR}/songs
mkdir -p ${SAWTEETH_DIR}/lib
cp Sawteeth ${SAWTEETH_DIR}/Sawteeth
cp -r sounds ${SAWTEETH_DIR}
cp -r songs ${SAWTEETH_DIR}
cp -r lib/headers lib/libST.so ${SAWTEETH_DIR}/lib/
addAppDeskbarSymlink ${SAWTEETH_DIR}/Sawteeth
}