summaryrefslogtreecommitdiffstats
path: root/extra/libtunepimp/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-21 22:39:10 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-21 22:39:10 +0200
commit010d87391d1ba17f78d584ea196b780158f1c6f9 (patch)
tree679afaf7f80ac1b4f9e0336a2ce27c4b1e74b24c /extra/libtunepimp/Pkgfile
parent84d2457dba83ea0fa26bfa15432dace777a577c3 (diff)
downloadnutyx-pakxe-010d87391d1ba17f78d584ea196b780158f1c6f9.tar.gz
nutyx-pakxe-010d87391d1ba17f78d584ea196b780158f1c6f9.tar.bz2
nutyx-pakxe-010d87391d1ba17f78d584ea196b780158f1c6f9.tar.xz
nutyx-pakxe-010d87391d1ba17f78d584ea196b780158f1c6f9.zip
Ajout de libtunepimp#0.5.3-1
Diffstat (limited to 'extra/libtunepimp/Pkgfile')
-rw-r--r--extra/libtunepimp/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/libtunepimp/Pkgfile b/extra/libtunepimp/Pkgfile
new file mode 100644
index 000000000..45ae6f651
--- /dev/null
+++ b/extra/libtunepimp/Pkgfile
@@ -0,0 +1,29 @@
+# Description: Librairie multimedia pour MusicBrainz
+# URL: http://www.musicbrainz.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libmusicbrainz, curl, libofa
+
+name=libtunepimp
+version=0.5.3
+release=1
+source=(ftp://ftp.musicbrainz.org/pub/musicbrainz/$name-$version.tar.gz\
+ gcc43.patch tunepimp-0.5.3-gcc44.patch m4.patch)
+
+build() {
+ cd $name-$version
+ sed -i -e 's,-ltermcap,-lncurses,' configure
+ sed -i -e 's:-lthr:-lpthread:g' lib/threads/posix/Makefile.in
+
+ patch -Np0 -i ../gcc43.patch
+ patch -Np1 -i ../tunepimp-0.5.3-gcc44.patch
+ patch -Np0 -i ../m4.patch
+
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+ cd python
+ python setup.py install --root=$PKG
+ cd $PKG/usr/include
+ ln -s tunepimp-0.5 tunepimp
+}