wok-current view fluidsynth/receipt @ rev 24238
updated perl-mime-base64 (3.15 -> 3.16)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 07:16:25 2022 +0100 (2022-01-02) |
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 }