DESCRIPTION="Asterisk AGI script to search and append a vCard addressbook with CallerID"
HOMEPAGE="http://luke.dashjr.org/programs/AGI/"
MyP="e164-vCard-${PV}"
SRC_URI="http://luke.dashjr.org/programs/AGI/${MyP}.tbz2"

LICENSE="Luke-Jr"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""

DEPEND="
	dev-perl/asterisk-perl
	dev-perl/Text-vCard
	dev-perl/Text-vFile-asData
	dev-lang/perl"

S="${WORKDIR}/${MyP}"

src_install() {
	exeinto /var/lib/asterisk/agi-bin/
	doexe "e164-vCard.pl"
	doexe "e164-vCard-Add.pl"
}