summaryrefslogtreecommitdiffstats
path: root/extra/libmusicbrainz/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2010-12-29 11:43:57 +0000
committersibel <lesibel@free.fr>2010-12-29 11:43:57 +0000
commit98fdabbc5b1cc4fdcf607ae24dbc4b5d2f46e50f (patch)
tree967fd709fc75c21e395e177e1f88d3691109fa09 /extra/libmusicbrainz/Pkgfile
parente6847b7fbacb584b584b647ae52ceef54ccb7a20 (diff)
downloadnutyx-pakxe-98fdabbc5b1cc4fdcf607ae24dbc4b5d2f46e50f.tar.gz
nutyx-pakxe-98fdabbc5b1cc4fdcf607ae24dbc4b5d2f46e50f.tar.bz2
nutyx-pakxe-98fdabbc5b1cc4fdcf607ae24dbc4b5d2f46e50f.tar.xz
nutyx-pakxe-98fdabbc5b1cc4fdcf607ae24dbc4b5d2f46e50f.zip
libmusicbrainz#3.0.3-1, maj port
Diffstat (limited to 'extra/libmusicbrainz/Pkgfile')
-rwxr-xr-xextra/libmusicbrainz/Pkgfile24
1 files changed, 11 insertions, 13 deletions
diff --git a/extra/libmusicbrainz/Pkgfile b/extra/libmusicbrainz/Pkgfile
index cac89d16c..391c38113 100755
--- a/extra/libmusicbrainz/Pkgfile
+++ b/extra/libmusicbrainz/Pkgfile
@@ -2,24 +2,22 @@
# URL: http://musicbrainz.org/doc/libmusicbrainz
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: python, expat
+# Depends on:
name=libmusicbrainz
-version=2.1.5
+version=3.0.3
release=1
-source=( ftp://ftp.musicbrainz.org/pub/musicbrainz/$name-$version.tar.gz\
- http://nutyx.meticul.eu/files/patchs/$name/gcc4.patch)
-
+source=( ftp://ftp.musicbrainz.org/pub/musicbrainz/$name-$version.tar.gz)
build() {
- cd $name-$version
- patch -Np1 -i ../gcc4.patch
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info
- make
+ cd $SRC
+ mkdir build
+ cd build
+ cmake ../libmusicbrainz-${version} \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DBUILD_STATIC_LIBS:BOOL=OFF
+ make
make DESTDIR=$PKG install
- cd python
- python setup.py install --root=$PKG
}