SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libmpd"

# SliTaz package receipt.

PACKAGE="libmpd"
VERSION="11.8.17"
CATEGORY="multimedia"
MAINTAINER="jozee@slitaz.org"
LICENSE="GPL2"
SHORT_DESC="Signal based wrapper around libmpdclient"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://gmpclient.org/"
WGET_URL="https://download.sarine.nl/Programs/gmpc/${VERSION%.*}/$TARBALL"
HOST_ARCH="i486 arm"

DEPENDS="glib"
BUILD_DEPENDS="pkg-config glib-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://download.sarine.nl/Programs/gmpc/$( \
    wget -O - https://download.sarine.nl/Programs/gmpc/ 2>/dev/null | \
    sed '/folder/!d;/old\//d;s|.*href="||;s|/".*||' | sort -Vr | sed q)/ 2>/dev/null | \
    sed '/libmpd-/!d;s|.*href="libmpd-||;s|.tar.*||' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure --prefix=/usr $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR 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/
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)