wok annotate fluidsynth/receipt @ rev 25176

updated python-formalchemy (1.5.5 -> 1.5.6)
author Hans-G?nter Theisgen
date Fri Jul 01 17:52:21 2022 +0100 (23 months ago)
parents 5ea0ce1cecc0
children 20ad21d5532c
rev   line source
jozee@6827 1 # SliTaz package receipt.
jozee@6827 2
jozee@6827 3 PACKAGE="fluidsynth"
Hans-G?nter@24558 4 VERSION="2.2.5"
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."
Hans-G?nter@24558 10 WEB_SITE="https://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
Hans-G?nter@24558 15 DEPENDS="glib jack-audio-connection-kit ladspa libdb"
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
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
jozee@6827 25 # Rules to configure and make the package.
pascal@19707 26 compile_rules()
pascal@19707 27 {
pascal@19707 28 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@22766 29
Hans-G?nter@24558 30 mkdir _build
Hans-G?nter@24558 31 cd _build
Hans-G?nter@24558 32 cmake .. \
Hans-G?nter@24558 33 -D CMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@24558 34 make &&
Hans-G?nter@24558 35 make install DESTDIR=$DESTDIR
jozee@6827 36 }
jozee@6827 37
jozee@6827 38 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6827 39 genpkg_rules()
jozee@6827 40 {
Hans-G?nter@24558 41 cook_copy_folders bin
Hans-G?nter@24558 42 cook_copy_files *.so*
jozee@6827 43 }