mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 04:44:19 +08:00
Add timidity recipe
This commit is contained in:
parent
5315676894
commit
b91513990b
42
recipes/timidity/recipe.sh
Normal file
42
recipes/timidity/recipe.sh
Normal file
@ -0,0 +1,42 @@
|
||||
VERSION=2.14.0
|
||||
GIT=https://github.com/xTibor/redox-timidity.git
|
||||
BRANCH=redox
|
||||
DEPENDS="generaluser-gs"
|
||||
|
||||
function recipe_version {
|
||||
echo "$VERSION"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_update {
|
||||
echo "skipping update"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
autoreconf -f -i
|
||||
wget -O autoconf/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix=''
|
||||
make
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_test {
|
||||
echo "skipping test"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_clean {
|
||||
make clean
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
make DESTDIR="$dest" install
|
||||
|
||||
mkdir -pv "$1/share/timidity"
|
||||
echo "soundfont /share/generaluser-gs/generaluser-gs.sf2" >> "$1/share/timidity/timidity.cfg"
|
||||
|
||||
skip=1
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user