summaryrefslogtreecommitdiff
blob: 634401b1dd2345c09a9515f8ace8173a036a78bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="the fast media tag lib"
HOMEPAGE="http://mtag.berlios.de/"
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"

RDEPEND="media-libs/taglib
	>=dev-db/sqlite-3.3.12"
DEPEND="dev-util/cmake
	${RDEPEND}"

src_compile() {
	cmake "${S}" || die "compile failed!"
	emake || die "compile failed!"
}

src_install() {
	dobin mtag
	dodoc README
	if use doc; then
		dohtml html/*
	fi
}