wok-current annotate mplayer-codecs/receipt @ rev 8214
imported patch toolchain/zlib.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | 9897bd92cbac |
children | 3cf7720910d8 |
rev | line source |
---|---|
pankso@918 | 1 # SliTaz package receipt. |
pankso@918 | 2 |
pankso@918 | 3 PACKAGE="mplayer-codecs" |
slaxemulator@6232 | 4 VERSION="1.0rc3" |
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 } |