Pau Espin Pedrol | 5867b92 | 2022-01-07 13:20:54 +0100 | [diff] [blame] | 1 | DESCRIPTION = "Osmocom HNB-GW implementation" |
| 2 | HOMEPAGE = "https://osmocom.org/projects/osmohnbgw" |
| 3 | LICENSE = "AGPLv3" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" |
| 5 | |
Oliver Smith | 400e358 | 2022-02-25 10:07:53 +0100 | [diff] [blame] | 6 | DEPENDS = "libosmocore libosmo-netif libosmo-sccp osmo-iuh libasn1c lksctp-tools osmo-mgw" |
Pau Espin Pedrol | 5867b92 | 2022-01-07 13:20:54 +0100 | [diff] [blame] | 7 | |
| 8 | INC_PR="r0.${META_TELEPHONY_OSMO_INC}" |
| 9 | |
| 10 | # Workaround to oe-core meta/site/* CONFIG_SITE files passed to autoconf forcing unavailability of netinet/sctp.h. |
| 11 | # Patch fixing issue upstream: https://patchwork.openembedded.org/patch/168892/ |
| 12 | CACHED_CONFIGUREVARS += "ac_cv_header_netinet_sctp_h=yes" |
| 13 | |
| 14 | inherit autotools pkgconfig systemd |
| 15 | |
| 16 | PACKAGECONFIG ??= "\ |
| 17 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
| 18 | " |
| 19 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir" |
| 20 | |
| 21 | SYSTEMD_SERVICE_${PN} = "${PN}.service" |
| 22 | |
| 23 | CONFFILES_osmo-hnbgw = "${sysconfdir}/osmocom/osmo-hnbgw.cfg" |