wok annotate mplayer-codecs/receipt @ rev 25556

created recipes for nted and nted-lang
author Hans-G?nter Theisgen
date Sat Apr 22 14:54:15 2023 +0100 (18 months ago)
parents 4011b51eb28e
children
rev   line source
pankso@918 1 # SliTaz package receipt.
pankso@918 2
pankso@918 3 PACKAGE="mplayer-codecs"
pankso@16123 4 VERSION="20110131"
pankso@918 5 CATEGORY="multimedia"
pankso@2546 6 SHORT_DESC="All MPlayer codecs for SliTaz."
pankso@918 7 MAINTAINER="pankso@slitaz.org"
pascal@15583 8 LICENSE="GPL2"
pankso@918 9 WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
gokhlayeh@8588 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@16123 11 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-$VERSION.tar.bz2"
pankso@16123 12 HOST_ARCH="i486 arm"
pankso@13017 13
pankso@13017 14 DEPENDS="mplayer"
pankso@918 15
pascal@24453 16 # What is the latest version available today?
pascal@24453 17 current_version()
pascal@24453 18 {
pascal@24453 19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24453 20 sed '/all-[0-9]/!d;/tar/!d;s|.*all-||;s|.tar.*||' | sort -Vr | sed q
pascal@24453 21 }
pascal@24453 22
pankso@918 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@918 24 genpkg_rules()
pankso@918 25 {
pankso@918 26 mkdir -p $fs/usr/lib/mplayer/codecs
gokhlayeh@8588 27 cp -a $src/* $fs/usr/lib/mplayer/codecs
pankso@13017 28 # Remove codec depending on libstdc++.so.5
pascal@2614 29 rm -f $fs/usr/lib/mplayer/codecs/drvc.so
pascal@2614 30 rm -f $fs/usr/lib/mplayer/codecs/cook.so
pankso@13017 31 }