SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mt-daapd"

# SliTaz package receipt.

PACKAGE="mt-daapd"
VERSION="0.2.4.2"
CATEGORY="multimedia"
SHORT_DESC="Media server for the Roku SoundBridge and iTunes."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://fireflymediaserver.org/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
PROVIDE="firefly"

DEPENDS="gdbm libid3tag zlib"
BUILD_DEPENDS="gdbm-dev libid3tag-dev glib"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/mt-daapd/files/mt-daapd/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/mt-daapd/||;s|/.*||;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()
{
    cp -a $install/usr $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)