summaryrefslogtreecommitdiffstats
path: root/extra/libmusicbrainz/Pkgfile
blob: 8a83c4aec1dd5a47c1faa65a1f1e233bee9dc727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: Deuxième génération de l'incarnation d'indexation de CD
# URL: http://musicbrainz.org/doc/libmusicbrainz
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: cmake, python, expat, neon
# Run on: python,expat

name=libmusicbrainz
version=3.0.3
release=1
source=( ftp://ftp.musicbrainz.org/pub/musicbrainz/$name-$version.tar.gz)

build() {
	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
}