summaryrefslogtreecommitdiffstats
path: root/extra/libmusicbrainz/Pkgfile
blob: 391c381139749b0c302482be226acb91c7bfaa20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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: 

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
}