SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "opusfile"

# SliTaz package receipt.

PACKAGE="opusfile"
VERSION="0.12"
CATEGORY="multimedia"
SHORT_DESC="Opus streams in the Ogg container I/O."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="BSD"
WEB_SITE="https://opus-codec.org/"

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

DEPENDS="libogg libssl opus"
BUILD_DEPENDS="automake libogg libogg-dev libtool openssl-dev opus-dev pkg-config"

# What is the latest version available today?
current_version()
{
    wget -O - https://ftp.osuosl.org/pub/xiph/releases/opus/ 2>/dev/null | \
    sed '/opusfile/!d;/tar/!d;s|.*opusfile-||;s|.tar.*||' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh &&
    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

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