Recipe for AMC (#1032)

This commit is contained in:
dacianf
2017-03-03 19:53:14 +02:00
committed by Scott McCreary
parent eaf0d9b5fe
commit 0265e0a093

View File

@@ -0,0 +1,47 @@
SUMMARY="A'dam Music Composer"
DESCRIPTION="This is a great app for creating music with, it supports \
keyboard and it creates MP3s and WAVE files"
HOMEPAGE="https://github.com/HaikuArchives/AMC"
COPYRIGHT="1989 Atsushi Moriwaki"
LICENSE="Public Domain"
REVISION="1"
srcGitRev="451087418bc91f626ba7cb1b112816e3bac898f9"
SOURCE_URI="https://github.com/HaikuArchives/AMC/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="8e90759b128c66f3a3443fecf0b9ffda112a911be77fc14d7666d7bb051b98f7"
SOURCE_DIR="AMC-$srcGitRev"
ARCHITECTURES="x86_gcc2"
PROVIDES="
amc = $portVersion
app:AMC = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:gcc
"
BUILD()
{
cd amc/src
make $jobArgs
}
INSTALL()
{
cd amc/src
mkdir -p $appsDir/AMC
cp -a amc $appsDir/AMC/A\'dams\ Music\ Composer
cp -r ../doc $appsDir/AMC
cp -r ../tunes $appsDir/AMC
}