wok annotate python-pymedia/receipt @ rev 4424
Up: pcmanfm (0.5.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Oct 26 11:11:10 2009 +0100 (2009-10-26) |
parents | |
children | f3327707164a |
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@3888 | 12 DEPENDS="python libvorbis libogg" |
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 } |