wok view fluidsynth/receipt @ rev 24161

updated memtester (4.3.0 -> 4.5.1)
author Hans-G?nter Theisgen
date Wed Dec 22 13:43:13 2021 +0100 (2021-12-22)
parents 61d28e8be66c
children 2c2eb93bb194
line source
1 # SliTaz package receipt.
3 PACKAGE="fluidsynth"
4 VERSION="2.1.0"
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="http://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"
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 -D CMAKE_INSTALL_PREFIX=/usr .. &&
33 make -j 1 &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*so* $fs/usr/lib
44 }