wok-6.x annotate fluidsynth/receipt @ rev 23925
Add Connect-Four
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 23 10:18:23 2020 +0000 (2020-08-23) |
parents | b36234b8bc3b |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
jozee@6827 | 1 # SliTaz package receipt. |
jozee@6827 | 2 |
jozee@6827 | 3 PACKAGE="fluidsynth" |
Hans-G?nter@22766 | 4 VERSION="2.1.0" |
jozee@6827 | 5 CATEGORY="multimedia" |
Hans-G?nter@20929 | 6 TAGS="synthesizer audio multimedia" |
jozee@6827 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
jozee@6827 | 9 SHORT_DESC="A real-time software synthesizer based on the SoundFont 2 specifications." |
jozee@6827 | 10 WEB_SITE="http://www.fluidsynth.org/" |
Hans-G?nter@20929 | 11 |
Hans-G?nter@20929 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@20929 | 13 WGET_URL="https://github.com/FluidSynth/$PACKAGE/archive/v$VERSION.tar.gz" |
Hans-G?nter@20929 | 14 |
slaxemulator@6932 | 15 DEPENDS="glib jack-audio-connection-kit ladspa" |
Hans-G?nter@22766 | 16 BUILD_DEPENDS="cmake glib-dev jack-audio-connection-kit-dev ladspa-dev |
Hans-G?nter@22766 | 17 pkg-config" |
jozee@6827 | 18 |
jozee@6827 | 19 # Rules to configure and make the package. |
jozee@6827 | 20 |
pascal@19707 | 21 compile_rules() |
pascal@19707 | 22 { |
pascal@19707 | 23 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@22766 | 24 |
Hans-G?nter@22766 | 25 mkdir build |
Hans-G?nter@22766 | 26 cd build |
Hans-G?nter@20929 | 27 cmake -D CMAKE_INSTALL_PREFIX=/usr .. && |
Hans-G?nter@20929 | 28 make -j 1 && |
pascal@19707 | 29 make DESTDIR=$DESTDIR install |
jozee@6827 | 30 } |
jozee@6827 | 31 |
jozee@6827 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6827 | 33 genpkg_rules() |
jozee@6827 | 34 { |
jozee@6827 | 35 mkdir -p $fs/usr/lib |
Hans-G?nter@22766 | 36 |
Hans-G?nter@22766 | 37 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22766 | 38 cp -a $install/usr/lib/*so* $fs/usr/lib |
jozee@6827 | 39 } |