wok-stable annotate mutagen/receipt @ rev 12001
fceux: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 05 14:43:15 2012 +0100 (2012-03-05) |
parents | |
children |
rev | line source |
---|---|
jozee@2677 | 1 # SliTaz package receipt. |
jozee@2677 | 2 |
jozee@2677 | 3 PACKAGE="mutagen" |
jozee@2677 | 4 VERSION="1.15" |
jozee@2677 | 5 CATEGORY="multimedia" |
jozee@2677 | 6 SHORT_DESC="python module for audio meta data" |
jozee@2677 | 7 MAINTAINER="joshi.rohit@yahoo.com" |
jozee@2677 | 8 DEPENDS="python" |
jozee@2677 | 9 BUILD_DEPENDS="python-dev" |
jozee@2677 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2677 | 11 WEB_SITE="http://quodlibet.googlecode.com/files" |
jozee@2677 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@2677 | 13 |
jozee@2677 | 14 # Rules to configure and make the package. |
jozee@2677 | 15 compile_rules() |
jozee@2677 | 16 { |
jozee@2677 | 17 cd $src |
jozee@2677 | 18 python setup.py build |
jozee@2677 | 19 python setup.py install --root=$PWD/_pkg |
jozee@2677 | 20 } |
jozee@2677 | 21 |
jozee@2677 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2677 | 23 genpkg_rules() |
jozee@2677 | 24 { |
jozee@2677 | 25 mkdir -p $fs/usr/lib |
jozee@2677 | 26 cp -a $_pkg/usr/bin $fs/usr |
jozee@2677 | 27 cp -a $_pkg/usr/lib/* $fs/usr/lib/ |
jozee@2677 | 28 } |
jozee@2677 | 29 |