diff options
Diffstat (limited to 'extra/libmusicbrainz/Pkgfile')
-rwxr-xr-x | extra/libmusicbrainz/Pkgfile | 24 |
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 } |