milis/talimatname/genel/l/libmusicbrainz5/talimat

27 lines
647 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: MusicBrainz Sunucusuna Erişimi Sağlayan Kitaplık
# URL: http://musicbrainz.org/doc/libmusicbrainz
# Paketçi: milisarge
# Gerekler: cmake expat neon doxygen
isim=libmusicbrainz5
surum=5.1.0
devir=1
kaynak=( https://github.com/metabrainz/libmusicbrainz/releases/download/release-$surum/libmusicbrainz-$surum.tar.gz)
derle() {
cd libmusicbrainz-$surum
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/$isim-$surum
cp -vr docs/ $PKG/usr/share/doc/$isim-$surum
}