blob: 6dfb34428bfbbcf794087401792cebdf9f8d095a [file] [log] [blame]
Pau Espin Pedroldf34ca22017-09-26 14:27:13 +02001DESCRIPTION = "Osmocom Iuh and HNB-GW implementation"
2HOMEPAGE = "https://osmocom.org/projects/osmohnbgw"
3LICENSE = "AGPLv3"
4LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
5
6DEPENDS = "libosmocore libosmo-netif libosmo-sccp libasn1c"
7
Pau Espin Pedrol599bb012018-05-06 23:01:31 +02008INC_PR="r0.${META_TELEPHONY_OSMO_INC}"
Pau Espin Pedroldf34ca22017-09-26 14:27:13 +02009
10inherit autotools pkgconfig systemd
11
12do_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 Pedrol0e5d61d2017-10-18 11:07:23 +020020PACKAGES =+ "libosmo-ranap libosmo-ranap-dev osmo-hnbgw"
21SYSTEMD_PACKAGES = "osmo-hnbgw"
22SYSTEMD_SERVICE_osmo-hnbgw = "osmo-hnbgw.service"
23
24FILES_libosmo-ranap = " \
25 ${libdir}/libosmo-ranap${SOLIBS} \
26 "
27
28FILES_libosmo-ranap-dev = " \
29 ${includedir}/osmocom/ranap \
30 ${libdir}/pkgconfig/libosmo-ranap.pc \
31 ${libdir}/libosmo-ranap${SOLIBSDEV} \
32 "
33
34FILES_osmo-hnbgw = " \
35 ${bindir}/osmo-hnbgw \
36 ${sysconfdir}/osmocom/osmo-hnbgw.cfg \
37 "
Pau Espin Pedrol71ac7c02017-12-04 18:37:22 +010038CONFFILES_osmo-hnbgw = "${sysconfdir}/osmocom/osmo-hnbgw.cfg"
Pau Espin Pedrol0e5d61d2017-10-18 11:07:23 +020039
40ALLOW_EMPTY_${PN} = "1"