Pau Espin Pedrol | df34ca2 | 2017-09-26 14:27:13 +0200 | [diff] [blame] | 1 | DESCRIPTION = "Osmocom Iuh and HNB-GW implementation" |
| 2 | HOMEPAGE = "https://osmocom.org/projects/osmohnbgw" |
| 3 | LICENSE = "AGPLv3" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" |
| 5 | |
| 6 | DEPENDS = "libosmocore libosmo-netif libosmo-sccp libasn1c" |
| 7 | |
Pau Espin Pedrol | 599bb01 | 2018-05-06 23:01:31 +0200 | [diff] [blame] | 8 | INC_PR="r0.${META_TELEPHONY_OSMO_INC}" |
Pau Espin Pedrol | df34ca2 | 2017-09-26 14:27:13 +0200 | [diff] [blame] | 9 | |
| 10 | inherit autotools pkgconfig systemd |
| 11 | |
| 12 | do_install_append() { |
| 13 | install -d ${D}${systemd_system_unitdir}/ |
| 14 | install -d ${D}${sysconfdir}/osmocom/ |
| 15 | |
| 16 | install -m 0644 ${S}/doc/examples/osmo-hnbgw.cfg ${D}${sysconfdir}/osmocom/ |
| 17 | install -m 0644 ${S}/contrib/systemd/osmo-hnbgw.service ${D}${systemd_system_unitdir}/ |
| 18 | } |
| 19 | |
Pau Espin Pedrol | 0e5d61d | 2017-10-18 11:07:23 +0200 | [diff] [blame] | 20 | PACKAGES =+ "libosmo-ranap libosmo-ranap-dev osmo-hnbgw" |
| 21 | SYSTEMD_PACKAGES = "osmo-hnbgw" |
| 22 | SYSTEMD_SERVICE_osmo-hnbgw = "osmo-hnbgw.service" |
| 23 | |
| 24 | FILES_libosmo-ranap = " \ |
| 25 | ${libdir}/libosmo-ranap${SOLIBS} \ |
| 26 | " |
| 27 | |
| 28 | FILES_libosmo-ranap-dev = " \ |
| 29 | ${includedir}/osmocom/ranap \ |
| 30 | ${libdir}/pkgconfig/libosmo-ranap.pc \ |
| 31 | ${libdir}/libosmo-ranap${SOLIBSDEV} \ |
| 32 | " |
| 33 | |
| 34 | FILES_osmo-hnbgw = " \ |
| 35 | ${bindir}/osmo-hnbgw \ |
| 36 | ${sysconfdir}/osmocom/osmo-hnbgw.cfg \ |
| 37 | " |
Pau Espin Pedrol | 71ac7c0 | 2017-12-04 18:37:22 +0100 | [diff] [blame] | 38 | CONFFILES_osmo-hnbgw = "${sysconfdir}/osmocom/osmo-hnbgw.cfg" |
Pau Espin Pedrol | 0e5d61d | 2017-10-18 11:07:23 +0200 | [diff] [blame] | 39 | |
| 40 | ALLOW_EMPTY_${PN} = "1" |