wok-current view fluidsynth/receipt @ rev 25731

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:28:03 2024 +0000 (2 months ago)
parents 2c2eb93bb194
children
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 HOST_ARCH="i486 x86_64"
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export LDFLAGS="$LDFLAGS -ltinfo"
32 mkdir _build
33 cd _build
34 cmake .. \
35 -D CMAKE_INSTALL_PREFIX=/usr &&
36 make &&
37 make install DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_folders bin
44 cook_copy_files *.so*
45 }