Install this version:
emerge -a =app-mobilephone/vcf2csv-0.6.201011061941
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-mobilephone/vcf2csv-0.6.201011061941
Or alternatively:
emerge --autounmask-write -a =app-mobilephone/vcf2csv-0.6.201011061941
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="vcf2csv is a command line tool to convert vcard files to html or csv."
HOMEPAGE="http://vcf2csv.sourceforge.net/"
MY_PV=$(ver_rs 2 '-')
MY_PV2=$(ver_cut 1-2)
MY_P="${PN}-${MY_PV}-src-bin"
SRC_URI="https://downloads.sourceforge.net/${PN}/${PN}/${PN}-${MY_PV2}/${MY_P}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/vcf2csv-respect-cflags.patch" )
S="${WORKDIR}/${MY_P}"
src_prepare() {
sed -i -e 's#/usr/local/bin#$(DESTDIR)/usr/bin#g;s# /usr# $(DESTDIR)/usr#g' Makefile
default
}
src_compile() {
emake all
}
src_install() {
mkdir -p "${D}/usr/bin"
mkdir -p "${D}/usr/share/man/man1/"
default
}