# 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="http://www.sdamm.de/gentoo/distfiles/${P}.tar.gz" #SRC_URI="mirror://sourceforge/vformat/${P}r2.tar.gz SRC_URI="mirror://debian/pool/main/libv/libvformat/${PN}_1.13.orig.tar.gz mirror://debian/pool/main/libv/libvformat/${PN}_1.13-3.diff.gz" S=${WORKDIR}/${P}.orig LICENSE="LGPL" 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}/libvformat_1.13-3.diff.gz # Patch for not installing documentation, because it wants c2man epatch ${FILESDIR}/libvformat-nodoc.patch } src_compile() { econf || die "econf failed" emake || die } src_install() { make DESTDIR="${D}" einstall || die }