# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Library to read and write vcard files" HOMEPAGE="http://sourceforge.net/projects/vformat/" SRC_URI="mirror://debian/pool/main/libv/${PN}/${PN}_1.13.orig.tar.gz mirror://debian/pool/main/libv/${PN}/${PN}_1.13-3.diff.gz" S=${WORKDIR}/${P}.orig LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" RDEPEND="" src_unpack() { unpack ${A} cd ${S} # Apply the debian patches, though I don't knwo what they do ;) epatch "${DISTDIR}"/"${PN}"_1.13-3.diff.gz # Patch for not installing documentation, because it wants c2man epatch "${FILESDIR}"/"${PN}"-nodoc.patch } src_compile() { econf || die "econf failed" emake || die } src_install() { make DESTDIR="${D}" install || die "make install failed" }