wok-current annotate mediainfo/receipt @ rev 25601

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents e9de689753f8
children
rev   line source
al@18634 1 # SliTaz package receipt.
al@18634 2
al@18634 3 PACKAGE="mediainfo"
Hans-G?nter@23169 4 VERSION="19.09"
al@18634 5 CATEGORY="utilities"
Hans-G?nter@21427 6 SHORT_DESC="Command-line utility for reading information from media files."
al@18634 7 MAINTAINER="al.bobylev@gmail.com"
al@18634 8 LICENSE="BSD"
Hans-G?nter@21427 9 WEB_SITE="https://mediaarea.net/MediaInfo"
Hans-G?nter@21427 10
al@18634 11 TARBALL="${PACKAGE}_$VERSION.tar.xz"
Hans-G?nter@21427 12 WGET_URL="https://mediaarea.net/download/source/$PACKAGE/$VERSION/$TARBALL"
al@18634 13
al@18634 14 DEPENDS="libmediainfo"
Hans-G?nter@23169 15 BUILD_DEPENDS="autoconf automake curl-dev libmediainfo-dev libmms-dev \
Hans-G?nter@21427 16 libtool libzen"
al@18634 17
pascal@24453 18 # What is the latest version available today?
pascal@24453 19 current_version()
pascal@24453 20 {
pascal@24453 21 wget -O - https://mediaarea.net/en/MediaInfo/Download/Source 2> /dev/null | \
pascal@24453 22 sed '/\/mediainfo\//!d;s|.*mediainfo/||;s|/.*||;q'
pascal@24453 23 }
pascal@24453 24
al@18634 25 # Rules to configure and make the package.
al@18634 26 compile_rules()
al@18634 27 {
al@18634 28 cd Project/GNU/CLI
Hans-G?nter@23169 29 ./autogen.sh &&
Hans-G?nter@21427 30 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21427 31 make -j 1 &&
Hans-G?nter@21427 32 make install
al@18634 33 }
al@18634 34
al@18634 35 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18634 36 genpkg_rules()
al@18634 37 {
al@18634 38 cp -a $install/* $fs
al@18634 39 }