# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=0 S="${WORKDIR}/${PN}" inherit eutils autotools DESCRIPTION="Interfaces with iPhone/iPod Touch devices using native Apple USB protocols" HOMEPAGE="http://matt.colyer.name/projects/iphone-linux/" SRC_URI="mirror://gentoo/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="dev-libs/libxml2 >=dev-libs/libusb-0.1.12 >=dev-libs/glib-2.16.5 >=net-libs/gnutls-2.6.4 >=dev-libs/libtasn1-1.8" RDEPEND="${DEPEND} dev-util/pkgconfig" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${PV}-gnutls-dependency.diff" eautoreconf } src_install() { emake DESTDIR="${D}" install || die "emake install failed" }