asterisk/dahdi-tools: Make it parsable on dora systems
In dora we do not have autotools-brokensep. Do it the old way and set the B variable directly. At sysmocom we still use this layer for the very old Dora release.
This commit is contained in:
parent
6606d56b73
commit
9b6c17ad01
|
@ -17,7 +17,10 @@ SRC_URI[sha256sum] = "e8b8d071f783edea82de510194dd272070ffbb7cdb2f5f6b020be5d15b
|
||||||
|
|
||||||
S = "${WORKDIR}/asterisk-${PV}"
|
S = "${WORKDIR}/asterisk-${PV}"
|
||||||
|
|
||||||
inherit autotools-brokensep pkgconfig useradd update-rc.d
|
inherit autotools pkgconfig useradd update-rc.d
|
||||||
|
|
||||||
|
# dora doesn't have autotools-brokensep. Still needed for sysmocom
|
||||||
|
B = "${S}"
|
||||||
|
|
||||||
USERADD_PACKAGES = "${PN}"
|
USERADD_PACKAGES = "${PN}"
|
||||||
USERADD_PARAM_${PN} = "--system -g asterisk --shell /bin/false asterisk"
|
USERADD_PARAM_${PN} = "--system -g asterisk --shell /bin/false asterisk"
|
||||||
|
|
|
@ -21,7 +21,9 @@ SRC_URI[sha256sum] = "9e904815dedab231084c542d2d7d5dcc832ebec4b5d5d999a5d757df8b
|
||||||
|
|
||||||
S = "${WORKDIR}/${PN}-${PV}"
|
S = "${WORKDIR}/${PN}-${PV}"
|
||||||
|
|
||||||
inherit autotools-brokensep pkgconfig perlnative cpan-base update-rc.d
|
inherit autotools pkgconfig perlnative cpan-base update-rc.d
|
||||||
|
# dora doesn't have autotools-brokensep. Still needed for sysmocom
|
||||||
|
B = "${S}"
|
||||||
|
|
||||||
export DAHDI_PERLLIBDIR="${PERLLIBDIRS}/${@get_perl_version(d)}"
|
export DAHDI_PERLLIBDIR="${PERLLIBDIRS}/${@get_perl_version(d)}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue