summaryrefslogtreecommitdiffstats
path: root/extra/libmusicbrainz/Pkgfile
blob: d709dae4001f8a01e477e43ae36db492accedf3f (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: 
# Run 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
}