summaryrefslogtreecommitdiffstats
path: root/libmusicbrainz/Pkgfile
blob: c74a52158301e023e110d92bcc9052ea32b1b495 (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,expat,neon
# Run on: expat,neon

name=libmusicbrainz
version=3.0.3
release=2
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
}