blob: 4269293d6eb640c0b5ee3693348af59261767503 [file] [log] [blame]
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libiptcdata/libiptcdata-1.0.2.ebuild,v 1.14 2010/01/01 12:53:08 armin76 Exp $
inherit eutils
DESCRIPTION="library for manipulating the International Press Telecommunications
Council (IPTC) metadata"
HOMEPAGE="http://libiptcdata.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ia64 ppc ppc64 ~sparc x86"
IUSE="doc nls python"
RDEPEND="python? ( dev-lang/python )
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
doc? ( >=dev-util/gtk-doc-1 )"
src_compile () {
econf $(use_enable nls) \
$(use_enable python) \
$(use_enable doc gtk-doc)
emake || die "emake failed."
}
src_install () {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README TODO
}