2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: MusicBrainz Sunucusuna Erişimi Sağlayan Kitaplık
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://musicbrainz.org/doc/libmusicbrainz
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: cmake expat neon doxygen
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
name=libmusicbrainz5
|
|
|
|
|
version=5.1.0
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=( https://github.com/metabrainz/libmusicbrainz/releases/download/release-$version/libmusicbrainz-$version.tar.gz)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-02-24 01:27:23 +01:00
|
|
|
|
cd libmusicbrainz-$version
|
|
|
|
|
mkdir build
|
|
|
|
|
cd build
|
|
|
|
|
cmake .. \
|
|
|
|
|
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
|
|
|
|
-DBUILD_SHARED_LIBS:BOOL=ON \
|
|
|
|
|
-DBUILD_STATIC_LIBS:BOOL=OFF
|
|
|
|
|
make
|
|
|
|
|
doxygen ../Doxyfile
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
# Documentation
|
|
|
|
|
mkdir -p $PKG/usr/share/doc/$name-$version
|
|
|
|
|
cp -vr docs/ $PKG/usr/share/doc/$name-$version
|
|
|
|
|
}
|