# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils libtool toolchain-funcs # Variables: SLOT="0"; LICENSE="GPL-2"; KEYWORDS="~x86"; DESCRIPTION="EXIV2 is a library and command line tool for manipulating the exif data in digital photographs."; HOMEPAGE="http://home.arcor.de/ahuggel/exiv2/index.html"; SRC_URI="http://home.arcor.de/ahuggel/exiv2/${P}.tar.gz"; IUSE=""; DEPEND="virtual/libc sys-devel/gcc sys-apps/sed sys-devel/automake sys-devel/autoconf"; RDEPEND="virtual/libc"; src_unpack() { unpack ${A} cd "${S}" pwd epatch ${FILESDIR}/DESTDIR.patch } src_compile() { econf || die Configure Failed. emake CC="$(tc-getXX)" || die Compile Failed } src_install() { make DESTDIR=${D} install || die Install Failed dodoc README }