milis/talimatname/genel/libmusicbrainz2/talimat

26 lines
783 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: Library That Provides Access to the MusicBrainz Server
# URL: http://musicbrainz.org/doc/libmusicbrainz
# Packager: pierre at nutyx dot org
# Depends on: python
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
}