wok-6.x view mplayer-codecs/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | 4011b51eb28e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mplayer-codecs"
4 VERSION="20110131"
5 CATEGORY="multimedia"
6 SHORT_DESC="All MPlayer codecs for SliTaz."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-$VERSION.tar.bz2"
12 HOST_ARCH="i486 arm"
14 DEPENDS="mplayer"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed '/all-[0-9]/!d;/tar/!d;s|.*all-||;s|.tar.*||' | sort -Vr | sed q
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib/mplayer/codecs
27 cp -a $src/* $fs/usr/lib/mplayer/codecs
28 # Remove codec depending on libstdc++.so.5
29 rm -f $fs/usr/lib/mplayer/codecs/drvc.so
30 rm -f $fs/usr/lib/mplayer/codecs/cook.so
31 }