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