rename packages/ to recipes/ per earlier agreement
[openembedded.git] / recipes / callweaver / callweaver-perl.bb
1 DESCRIPTION = "Callweaver::OGI Perl Gateway Interface Module"
2 HOMEPAGE = "http://www.callweaver.org"
3 SECTION = "libs"
4 LICENSE = "GPL"
5 DEPENDS = "install-native"
6 RDEPENDS = "perl callweaver-ogi"
7 PR = "r0"
8 S = "${WORKDIR}/callweaver-1.2-${CWRCV}/contrib/ogi-perl/callweaver-perl-0.0.1"
9
10 CWRCV = "rc5"
11
12 SRC_URI = "http://devs.callweaver.org/release/callweaver-1.2.0-${CWRCV}.tar.bz2"
13
14 inherit cpan
15
16 do_install_append () {
17   install -d ${D}${datadir}/callweaver/ogi/perl
18   install ${S}/examples/* ${D}${datadir}/callweaver/ogi/perl
19 }
20
21 PACKAGES =+ "${PN}-examples"
22
23 FILES_${PN}-examples = "${datadir}/callweaver/ogi/perl"