wok-current view mplayer-codecs/receipt @ rev 4768

Add: enna (Media center using e17 libs)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 10 23:13:08 2010 +0100 (2010-01-10)
parents 58177dde3dfc
children 8dde42dc598e
line source
1 # SliTaz package receipt.
3 PACKAGE="mplayer-codecs"
4 VERSION="1.0rc2"
5 CATEGORY="multimedia"
6 SHORT_DESC="All MPlayer codecs for SliTaz."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="mplayer"
9 WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr/lib/mplayer/codecs
15 if [ ! -f $SOURCES_REPOSITORY/all-20071007.tar.bz2 ]; then
16 wget -P $SOURCES_REPOSITORY \
17 http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2
18 fi
19 tar xjf $SOURCES_REPOSITORY/all-20071007.tar.bz2 \
20 -C $WOK/$PACKAGE
21 cp -a all-20071007/* $fs/usr/lib/mplayer/codecs
22 # remove codec depending on libstdc++.so.5
23 rm -f $fs/usr/lib/mplayer/codecs/drvc.so
24 rm -f $fs/usr/lib/mplayer/codecs/cook.so
25 }
27 clean_wok()
28 {
29 rm -rf all-20071007
30 }