wok-6.x annotate mplayer-codecs/receipt @ rev 5141
linux: use utf8
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 23 20:06:35 2010 +0100 (2010-03-23) |
parents | 58177dde3dfc |
children | 8dde42dc598e |
rev | line source |
---|---|
pankso@918 | 1 # SliTaz package receipt. |
pankso@918 | 2 |
pankso@918 | 3 PACKAGE="mplayer-codecs" |
pankso@918 | 4 VERSION="1.0rc2" |
pankso@918 | 5 CATEGORY="multimedia" |
pankso@2546 | 6 SHORT_DESC="All MPlayer codecs for SliTaz." |
pankso@918 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@918 | 8 DEPENDS="mplayer" |
pankso@918 | 9 WEB_SITE="http://www.mplayerhq.hu/design7/news.html" |
pankso@918 | 10 |
pankso@918 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@918 | 12 genpkg_rules() |
pankso@918 | 13 { |
pankso@918 | 14 mkdir -p $fs/usr/lib/mplayer/codecs |
pankso@2546 | 15 if [ ! -f $SOURCES_REPOSITORY/all-20071007.tar.bz2 ]; then |
pankso@2546 | 16 wget -P $SOURCES_REPOSITORY \ |
pankso@2546 | 17 http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2 |
pankso@918 | 18 fi |
pankso@2546 | 19 tar xjf $SOURCES_REPOSITORY/all-20071007.tar.bz2 \ |
pankso@918 | 20 -C $WOK/$PACKAGE |
pankso@2546 | 21 cp -a all-20071007/* $fs/usr/lib/mplayer/codecs |
pascal@2614 | 22 # remove codec depending on libstdc++.so.5 |
pascal@2614 | 23 rm -f $fs/usr/lib/mplayer/codecs/drvc.so |
pascal@2614 | 24 rm -f $fs/usr/lib/mplayer/codecs/cook.so |
pankso@918 | 25 } |
pankso@918 | 26 |
pankso@918 | 27 clean_wok() |
pankso@918 | 28 { |
pankso@2546 | 29 rm -rf all-20071007 |
pankso@918 | 30 } |