Files
haikuports/haiku-apps/midikeyboard/midikeyboard-1.0.0.recipe
Humdinger 2366f5cf03 Midikeyboard: fix recipe
"Make install" doesn't work with our makefile_engine (at least
not without specifying the install dir).
Use latest midikeyboard commit.
2017-01-16 19:02:21 +01:00

46 lines
1002 B
Bash

SUMMARY="An on-screen MIDI Keyboard"
DESCRIPTION="A simple on-screen MIDI keyboard.
It allows showing octave numbers and setting up cords and displays the \
current note. You can set the the receive/transmit channel and control \
input and output devices."
HOMEPAGE="https://github.com/HaikuArchives/MidiKeyboard"
COPYRIGHT="2000-2002 Martijn Sipkema"
LICENSE="GNU LGPL v2"
REVISION="2"
srcGitRev="137dc9f05ecf3eb1086322117cfd81d62da3dda7"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="625d7278eae65923c4ef1e3ba5fd01d8ec8ee93a4df81212ab855d1da1502471"
SOURCE_DIR="MidiKeyboard-$srcGitRev"
ARCHITECTURES="x86_gcc2 !x86 !x86_64"
PROVIDES="
midikeyboard = $portVersion
app:MIDIKeyboard = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:g++
"
BUILD()
{
make $jobArgs OBJ_DIR="objects"
}
INSTALL()
{
mkdir -p $appsDir
cp objects/MIDI\ Keyboard $appsDir
addAppDeskbarSymlink $appsDir/MIDI\ Keyboard
}