summaryrefslogtreecommitdiff
path: root/packages/callweaver/callweaver-perl.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/callweaver/callweaver-perl.bb')
-rw-r--r--packages/callweaver/callweaver-perl.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/callweaver/callweaver-perl.bb b/packages/callweaver/callweaver-perl.bb
new file mode 100644
index 0000000000..99e2fb73bf
--- /dev/null
+++ b/packages/callweaver/callweaver-perl.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Callweaver::OGI Perl Gateway Interface Module"
+HOMEPAGE = "http://www.callweaver.org"
+SECTION = "libs"
+LICENSE = "GPL"
+DEPENDS = "install-native"
+RDEPENDS = "perl callweaver-ogi"
+PR = "r0"
+S = "${WORKDIR}/callweaver-1.2-${CWRCV}/contrib/ogi-perl/callweaver-perl-0.0.1"
+
+CWRCV = "rc5"
+
+SRC_URI = "http://devs.callweaver.org/release/callweaver-1.2.0-${CWRCV}.tar.bz2"
+
+inherit cpan
+
+do_install_append () {
+ install -d ${D}${datadir}/callweaver/ogi/perl
+ install ${S}/examples/* ${D}${datadir}/callweaver/ogi/perl
+}
+
+PACKAGES =+ "${PN}-examples"
+
+FILES_${PN}-examples = "${datadir}/callweaver/ogi/perl"