wok view fluidsynth/receipt @ rev 25638

Up tinyssh (20240101 CVE-2023-48795)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 05 10:31:44 2024 +0000 (5 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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export LDFLAGS="$LDFLAGS -ltinfo"
31 mkdir _build
32 cd _build
33 cmake .. \
34 -D CMAKE_INSTALL_PREFIX=/usr &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_folders bin
43 cook_copy_files *.so*
44 }