blob: dfa332a7021552e66f4d8260e5e3924d5ba35378 [file] [log] [blame]
Pau Espin Pedrol9f948042017-09-26 14:30:51 +02001DESCRIPTION = "Osmocom BSC implementation"
2HOMEPAGE = "https://osmocom.org/projects/osmobsc"
3LICENSE = "AGPLv3"
4LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
5
6DEPENDS = "sqlite3 libosmocore libosmo-abis libosmo-sccp libosmo-netif osmo-mgw"
7
8INC_PR="r0.${META_TELEPHONY_OSMO_INC}"
9
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-bsc/osmo-bsc.cfg ${D}${sysconfdir}/osmocom/
17 install -m 0644 ${S}/doc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg ${D}${sysconfdir}/osmocom/
18
19 install -m 0644 ${S}/contrib/systemd/osmo-bsc.service ${D}${systemd_system_unitdir}/
20}
21
22PACKAGES =+ "osmo-bsc-nat-doc osmo-bsc-nat ipaccess-utils"
23SYSTEMD_PACKAGES = "osmo-bsc"
24SYSTEMD_SERVICE_osmo-bsc = "osmo-bsc.service"
25
26FILES_ipaccess-utils = " \
27 ${bindir}/ipaccess-find \
28 ${bindir}/ipaccess-config \
29 ${bindir}/ipaccess-proxy \
30 "
31
32FILES_osmo-bsc-nat = " \
33 ${bindir}/osmo-bsc_nat \
34 ${sysconfdir}/osmocom/osmo-bsc_nat.cfg \
35 "
36
37FILES_osmo-bsc-nat-doc = " ${docdir}/osmo-bsc/examples/osmo-bsc_nat "