milis/talimatname/genel/l/libmusicbrainz5/talimat

27 lines
647 B
Plaintext
Raw Normal View History

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
2017-10-28 14:10:23 +02:00
isim=libmusicbrainz5
surum=5.1.0
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=( https://github.com/metabrainz/libmusicbrainz/releases/download/release-$surum/libmusicbrainz-$surum.tar.gz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd libmusicbrainz-$surum
2016-02-24 01:27:23 +01:00
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
2017-10-28 14:10:23 +02:00
mkdir -p $PKG/usr/share/doc/$isim-$surum
cp -vr docs/ $PKG/usr/share/doc/$isim-$surum
2016-02-24 01:27:23 +01:00
}