wok-6.x view mplayer-codecs/receipt @ rev 2053
slim: backup config if exist (mainly keep screen config when upgrade)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 17 23:08:54 2009 +0100 (2009-01-17) |
parents | |
children | 58177dde3dfc |
line source
1 # SliTaz package receipt.
3 PACKAGE="mplayer-codecs"
4 VERSION="1.0rc2"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPlayer skin selection 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/essential-20071007.tar.bz2 ]; then
16 cd $SOURCES_REPOSITORY
17 wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
18 fi
19 tar xjf $SOURCES_REPOSITORY/essential-20071007.tar.bz2 \
20 -C $WOK/$PACKAGE
21 cp -a essential-20071007/* $fs/usr/lib/mplayer/codecs
22 }
24 clean_wok()
25 {
26 rm -rf essential-20071007
27 }