summaryrefslogtreecommitdiffstats
path: root/test/libtunepimp/Pkgfile
diff options
context:
space:
mode:
authorsibel <sibel@free.fr>2010-02-27 18:10:10 +0100
committersibel <sibel@free.fr>2010-02-27 18:10:10 +0100
commiteb24bf1956c5b691b756e78ab5433d51c36ef3b3 (patch)
tree98426c06e22d0f917cccc4c083dad6c56c1078a8 /test/libtunepimp/Pkgfile
parent074e79f04f8526d3c60439b82866e906c4c28819 (diff)
parentc7d61a18cfe11a9b4da9196c249f06a9b0ea8e10 (diff)
downloadnutyx-pakxe-eb24bf1956c5b691b756e78ab5433d51c36ef3b3.tar.gz
nutyx-pakxe-eb24bf1956c5b691b756e78ab5433d51c36ef3b3.tar.bz2
nutyx-pakxe-eb24bf1956c5b691b756e78ab5433d51c36ef3b3.tar.xz
nutyx-pakxe-eb24bf1956c5b691b756e78ab5433d51c36ef3b3.zip
Merge remote branch 'nutyx-2009/master'
Diffstat (limited to 'test/libtunepimp/Pkgfile')
-rw-r--r--test/libtunepimp/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/libtunepimp/Pkgfile b/test/libtunepimp/Pkgfile
new file mode 100644
index 000000000..9ccc79699
--- /dev/null
+++ b/test/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, expat
+
+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
+}