SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "rubberband"

# SliTaz package receipt.

PACKAGE="rubberband"
VERSION="3.0.0"
CATEGORY="development"
SHORT_DESC="Library for audio time-stretching and pitch-shifting."
MAINTAINER="maintainer@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.breakfastquay.com/rubberband/"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://breakfastquay.com/files/releases/$TARBALL"

DEPENDS="fftw gcc83-lib-base ladspa libatomic libsamplerate libsndfile
    lv2 vamp-sdk"
BUILD_DEPENDS="fftw-dev gcc83 ladspa-dev libatomic libsamplerate-dev
    libsndfile-dev lv2 meson vamp-sdk-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | sed '/Library v/!d;s|.*v||;s| .*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export    CC=gcc-83
    export    CXX=g++-83

    LDFLAGS="$LDFLAGS -latomic"    \
    meson    _build            \
        --prefix=/usr        \
        --sysconfdir=/etc    \
        --mandir=/usr/share/man    \
        --localstatedir=/var    \
        --buildtype=plain &&
    ninja    -C _build &&
    ninja    -C _build install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    lib
    cook_copy_folders    share
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)