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"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;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*
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)