wok annotate mplayer-codecs/receipt @ rev 1349
php: .php3 .php4 .php5 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 05 14:50:21 2008 +0000 (2008-09-05) |
parents | |
children | 58177dde3dfc |
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@918 | 6 SHORT_DESC="MPlayer skin selection 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@918 | 15 if [ ! -f $SOURCES_REPOSITORY/essential-20071007.tar.bz2 ]; then |
pankso@918 | 16 cd $SOURCES_REPOSITORY |
pankso@918 | 17 wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2 |
pankso@918 | 18 fi |
pankso@918 | 19 tar xjf $SOURCES_REPOSITORY/essential-20071007.tar.bz2 \ |
pankso@918 | 20 -C $WOK/$PACKAGE |
pankso@918 | 21 cp -a essential-20071007/* $fs/usr/lib/mplayer/codecs |
pankso@918 | 22 } |
pankso@918 | 23 |
pankso@918 | 24 clean_wok() |
pankso@918 | 25 { |
pankso@918 | 26 rm -rf essential-20071007 |
pankso@918 | 27 } |