wok view fluidsynth/receipt @ rev 25432

motion: adapted configuration parameters to version 4.4.0
author Hans-G?nter Theisgen
date Sun Aug 21 17:07:48 2022 +0100 (2022-08-21)
parents 5ea0ce1cecc0
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="fluidsynth"
4 VERSION="2.2.5"
5 CATEGORY="multimedia"
6 TAGS="synthesizer audio multimedia"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="LGPL2"
9 SHORT_DESC="A real-time software synthesizer based on the SoundFont 2 specifications."
10 WEB_SITE="https://www.fluidsynth.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/FluidSynth/$PACKAGE/archive/v$VERSION.tar.gz"
15 DEPENDS="glib jack-audio-connection-kit ladspa libdb"
16 BUILD_DEPENDS="cmake glib-dev jack-audio-connection-kit-dev ladspa-dev
17 pkg-config"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -ltinfo"
30 mkdir _build
31 cd _build
32 cmake .. \
33 -D CMAKE_INSTALL_PREFIX=/usr &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 cook_copy_files *.so*
43 }