summaryrefslogtreecommitdiff
path: root/packages/openpbx/openpbx.org-perl.bb
blob: 124dfcfc8b1578d8909a53bfffa84364e01a6e8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DESCRIPTION = "Openpbx::OGI Perl Gateway Interface Module"
HOMEPAGE = "http://www.openpbx.org"
SECTION = "libs"
LICENSE = "GPL"
DEPENDS = "install-native"
RDEPENDS = "perl openpbx.org-ogi"
PR = "r0"

OPBXV = "openpbx.org-1.2_rc3"

SRC_URI = "http://www.openpbx.org/releases/${OPBXV}.tar.gz"

S = "${WORKDIR}/${OPBXV}/contrib/ogi-perl/openpbx-perl-${PV}"

inherit cpan

do_install_append () {
  install -d ${D}${datadir}/openpbx.org/ogi/perl
  install ${S}/examples/* ${D}${datadir}/openpbx.org/ogi/perl
}

PACKAGES =+ "${PN}-examples"

FILES_${PN}-examples = "${datadir}/openpbx.org/ogi/perl"