summaryrefslogtreecommitdiffstats
path: root/mutagen/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /mutagen/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'mutagen/Pkgfile')
-rw-r--r--mutagen/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/mutagen/Pkgfile b/mutagen/Pkgfile
new file mode 100644
index 000000000..56e8e9b91
--- /dev/null
+++ b/mutagen/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Lecteur de données Méta audio implémenté en pure python
+# URL: http://code.google.com/p/mutagen/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: python
+# Run on: python
+
+name=mutagen
+version=1.20
+release=1
+source=(http://mutagen.googlecode.com/files/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+ python2 setup.py install --root=$PKG
+ mkdir -p $PKG/usr/bin
+ install -m755 tools/* $PKG/usr/bin
+
+ sed -i 's|^#!.*/usr/bin/env.*python|#!/usr/bin/env python2|' $PKG/usr/bin/* \
+ $PKG/usr/lib/python2.7/site-packages/mutagen/__init__.py
+}
+