wok-6.x annotate python-pymedia/receipt @ rev 5298
Up: mesa (7.8.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 18 23:51:56 2010 +0200 (2010-04-18) |
parents | 74ecf566d86a |
children |
rev | line source |
---|---|
pascal@3888 | 1 # SliTaz package receipt. |
pascal@3888 | 2 |
pascal@3888 | 3 PACKAGE="python-pymedia" |
pascal@3888 | 4 SOURCE="pymedia" |
pascal@3888 | 5 VERSION="1.3.7.3" |
pascal@3888 | 6 CATEGORY="development" |
pascal@3888 | 7 SHORT_DESC="Wav, mp3, ogg, avi, divx, dvd, cdda etc files manipulations." |
pascal@3888 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3888 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@3888 | 10 WEB_SITE="http://pymedia.org/" |
pascal@3888 | 11 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
pascal@5005 | 12 DEPENDS="python libvorbis libogg faad2 lame alsa-lib" |
pascal@3888 | 13 BUILD_DEPENDS="python python-dev libvorbis libvorbis-dev libogg libogg-dev" |
pascal@3888 | 14 |
pascal@3888 | 15 # Rules to configure and make the package. |
pascal@3888 | 16 compile_rules() |
pascal@3888 | 17 { |
pascal@3888 | 18 cd $src |
pascal@3888 | 19 echo | python setup.py build && |
pascal@3888 | 20 echo | python setup.py install --root=$PWD/_pkg |
pascal@3888 | 21 } |
pascal@3888 | 22 |
pascal@3888 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3888 | 24 genpkg_rules() |
pascal@3888 | 25 { |
pascal@3888 | 26 mkdir -p $fs/usr |
pascal@3888 | 27 cp -a $_pkg/usr/lib $fs/usr |
pascal@3888 | 28 } |