SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libsamplerate"

# SliTaz package receipt.

PACKAGE="libsamplerate"
VERSION="0.1.9"
CATEGORY="multimedia"
SHORT_DESC="Sample Rate Converter for audio."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="http://www.mega-nerd.com/SRC/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://www.mega-nerd.com/SRC/$TARBALL"

DEPENDS=""

HOST_ARCH="i486 arm"

# What is the latest version available today?
current_version()
{
    wget -O - http://www.mega-nerd.com/SRC/download.html 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --prefix=/usr        \
        --mandir=/usr/share/man    \
        $CONFIGURE_ARGS &&
    make -j 1 &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib

    cp -a $install/usr/bin        $fs/usr
    cp -a $install/usr/lib/*.so*    $fs/usr/lib 
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)