wok-6.x view mediainfo/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents e9de689753f8
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mediainfo"
4 VERSION="19.09"
5 CATEGORY="utilities"
6 SHORT_DESC="Command-line utility for reading information from media files."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://mediaarea.net/MediaInfo"
11 TARBALL="${PACKAGE}_$VERSION.tar.xz"
12 WGET_URL="https://mediaarea.net/download/source/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="libmediainfo"
15 BUILD_DEPENDS="autoconf automake curl-dev libmediainfo-dev libmms-dev \
16 libtool libzen"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://mediaarea.net/en/MediaInfo/Download/Source 2> /dev/null | \
22 sed '/\/mediainfo\//!d;s|.*mediainfo/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd Project/GNU/CLI
29 ./autogen.sh &&
30 ./configure $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }