milis/talimatname/genel/l/libmusicbrainz2/talimat

26 lines
759 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: python
2016-02-24 01:27:23 +01:00
name=libmusicbrainz2
version=2.1.5
release=1
source=( ftp://ftp.musicbrainz.org/pub/musicbrainz/historical/libmusicbrainz-$version.tar.gz
http://www.linuxfromscratch.org/patches/blfs/svn/libmusicbrainz-$version-missing-includes-1.patch )
build() {
cd libmusicbrainz-$version
patch -Np1 -i ../libmusicbrainz-$version-missing-includes-1.patch
./configure --prefix=/usr --disable-static
make
cd python
python setup.py build
cd ..
make DESTDIR=$PKG install
mkdir -p $PKG/usr/share/doc/libmusicbrainz-$version
install -v -m644 -D docs/mb_howto.txt \
$PKG/usr/share/doc/libmusicbrainz-$version/mb_howto.txt
}