wok-4.x diff mplayer-codecs/receipt @ rev 2125

xarchive: fix tar.bz2 handler for busybox (fix typo)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 01 10:41:34 2009 +0000 (2009-02-01)
parents
children 58177dde3dfc
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mplayer-codecs/receipt	Sun Feb 01 10:41:34 2009 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mplayer-codecs"
     1.7 +VERSION="1.0rc2"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="MPlayer skin selection for SliTaz."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="mplayer"
    1.12 +WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib/mplayer/codecs
    1.18 +	if [ ! -f $SOURCES_REPOSITORY/essential-20071007.tar.bz2 ]; then
    1.19 +		cd $SOURCES_REPOSITORY
    1.20 +		wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
    1.21 +	fi
    1.22 +	tar xjf $SOURCES_REPOSITORY/essential-20071007.tar.bz2 \
    1.23 +		-C $WOK/$PACKAGE
    1.24 +	cp -a essential-20071007/* $fs/usr/lib/mplayer/codecs
    1.25 +}
    1.26 +
    1.27 +clean_wok()
    1.28 +{
    1.29 +	rm -rf essential-20071007
    1.30 +}