milis/talimatname/genel/l/libmusicbrainz5/talimat

27 lines
668 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: MusicBrainz Sunucusuna Erişimi Sağlayan Kitaplık
# URL: http://musicbrainz.org/doc/libmusicbrainz
# Packager: milisarge
# Depends on: cmake expat neon doxygen
name=libmusicbrainz5
version=5.1.0
release=1
source=( https://github.com/metabrainz/libmusicbrainz/releases/download/release-$version/libmusicbrainz-$version.tar.gz)
build() {
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
}