#!/bin/sh
#
# Copyright 2005 Marius Gravdal <marius@dot42.org>
# Available under the terms of the GNU GPL.
#

NAME="libmusicbrainz"
VERSION="2.1.5"
REVISION="2"

PKG_SOURCEURL='http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-$VERSION.tar.gz'

# Patch to fix the compilation errors on 13.0 from http://slackbuilds.org by
# Michales Michaloudes
PKG_PATCH[0]="libmusicbrainz-2.1.5-include_stringh.patch"

. $DLG_ROOT/config
. $DLG_ROOT/SCRIPTS/dropline-functions.sh


cflags
prepare
applypatch 0 1

analyzesource
configure
make
makeinstall install-strip
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
