SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "opencore-amr"

# SliTaz package receipt.

PACKAGE="opencore-amr"
VERSION="0.1.5"
CATEGORY="multimedia"
SHORT_DESC="Adaptive Multi Rate (AMR) speech codec."
MAINTAINER="domcox@slitaz.org"
LICENSE="Apache"
WEB_SITE="https://sourceforge.net/projects/opencore-amr/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS=""
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/opencore-amr/files/opencore-amr/ 2>/dev/null | \
    sed '/scope="row/!d;/tar/!d;s|.*/opencore-amr-||;s|.tar.*||;q'
}

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)