blob: 820baf5d9170b0ce0b20ef3b8638decd574252f3 [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
Pau Espin Pedrol71ac7c02017-12-04 18:37:22 +01008INC_PR="r1.${META_TELEPHONY_OSMO_INC}"
Pau Espin Pedrol9f948042017-09-26 14:30:51 +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-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
Pau Espin Pedrol71ac7c02017-12-04 18:37:22 +010026CONFFILES_osmo-bsc = "${sysconfdir}/osmocom/osmo-bsc.cfg"
27
Pau Espin Pedrol9f948042017-09-26 14:30:51 +020028FILES_ipaccess-utils = " \
29 ${bindir}/ipaccess-find \
30 ${bindir}/ipaccess-config \
31 ${bindir}/ipaccess-proxy \
32 "
33
34FILES_osmo-bsc-nat = " \
35 ${bindir}/osmo-bsc_nat \
36 ${sysconfdir}/osmocom/osmo-bsc_nat.cfg \
37 "
Pau Espin Pedrol71ac7c02017-12-04 18:37:22 +010038CONFFILES_osmo-bsc-nat = "${sysconfdir}/osmocom/osmo-bsc_nat.cfg"
Pau Espin Pedrol9f948042017-09-26 14:30:51 +020039
40FILES_osmo-bsc-nat-doc = " ${docdir}/osmo-bsc/examples/osmo-bsc_nat "