SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fluidsynth"

# SliTaz package receipt.

PACKAGE="fluidsynth"
VERSION="2.2.5"
CATEGORY="multimedia"
TAGS="synthesizer audio multimedia"
MAINTAINER="jozee@slitaz.org"
LICENSE="LGPL2"
SHORT_DESC="A real-time software synthesizer based on the SoundFont 2 specifications."
WEB_SITE="https://www.fluidsynth.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/FluidSynth/$PACKAGE/archive/v$VERSION.tar.gz"

DEPENDS="glib jack-audio-connection-kit ladspa libdb"
BUILD_DEPENDS="cmake glib-dev jack-audio-connection-kit-dev ladspa-dev 
    pkg-config"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -ltinfo"

    mkdir    _build
    cd    _build
    cmake    ..                \
        -D CMAKE_INSTALL_PREFIX=/usr &&
    make &&
    make install DESTDIR=$DESTDIR
}
    
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_files        *.so*
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)