wok annotate mp3val/receipt @ rev 25032

giblib: modified configure parameter
author Hans-G?nter Theisgen
date Fri May 20 10:31:08 2022 +0100 (2022-05-20)
parents 7896f0694ef6
children 7dd01dedad38
rev   line source
devl547@13980 1 # SliTaz package receipt.
devl547@13980 2
devl547@13980 3 PACKAGE="mp3val"
devl547@13980 4 VERSION="0.1.8"
devl547@13980 5 CATEGORY="multimedia"
devl547@13980 6 SHORT_DESC="MP3val is a small, high-speed, free software tool for checking MPEG audio files' integrity"
devl547@13980 7 MAINTAINER="devl547@gmail.com"
pascal@15002 8 LICENSE="GPL2"
devl547@13980 9 WEB_SITE="http://mp3val.sourceforge.net/"
devl547@13980 10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
devl547@13980 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
devl547@13980 12
devl547@13980 13 DEPENDS=""
devl547@13980 14 BUILD_DEPENDS=""
devl547@13980 15
pascal@24402 16 # What is the latest version available today?
pascal@24402 17 current_version()
pascal@24402 18 {
pascal@24402 19 wget -O - https://sourceforge.net/projects/mp3val/files/mp3val/ 2>/dev/null | \
pascal@24402 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24402 21 sed '/scope="row/!d;s|.*/mp3val/mp3val%20||;s|/.*||;q'
pascal@24402 22 }
pascal@24402 23
devl547@13980 24 # Rules to configure and make the package.
devl547@13980 25 compile_rules()
devl547@13980 26 {
devl547@13980 27 mv Makefile.linux Makefile
devl547@13980 28 make
devl547@13980 29 }
devl547@13980 30
devl547@13980 31 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@13980 32 genpkg_rules()
devl547@13980 33 {
devl547@13980 34 mkdir -p $fs/usr/bin
devl547@13980 35 cp -a $src/mp3val $fs/usr/bin
devl547@13980 36 }