SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mediainfo"

# SliTaz package receipt.

PACKAGE="mediainfo"
VERSION="19.09"
CATEGORY="utilities"
SHORT_DESC="Command-line utility for reading information from media files."
MAINTAINER="al.bobylev@gmail.com"
LICENSE="BSD"
WEB_SITE="https://mediaarea.net/MediaInfo"

TARBALL="${PACKAGE}_$VERSION.tar.xz"
WGET_URL="https://mediaarea.net/download/source/$PACKAGE/$VERSION/$TARBALL"

DEPENDS="libmediainfo"
BUILD_DEPENDS="autoconf automake curl-dev libmediainfo-dev libmms-dev \
    libtool libzen"

# What is the latest version available today?
current_version()
{
    wget -O - https://mediaarea.net/en/MediaInfo/Download/Source 2> /dev/null | \
    sed '/\/mediainfo\//!d;s|.*mediainfo/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd Project/GNU/CLI
    ./autogen.sh &&
    ./configure $CONFIGURE_ARGS &&
    make -j 1 &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)