Pau Espin Pedrol | 9f94804 | 2017-09-26 14:30:51 +0200 | [diff] [blame] | 1 | DESCRIPTION = "Osmocom BSC implementation" |
| 2 | HOMEPAGE = "https://osmocom.org/projects/osmobsc" |
| 3 | LICENSE = "AGPLv3" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" |
| 5 | |
| 6 | DEPENDS = "sqlite3 libosmocore libosmo-abis libosmo-sccp libosmo-netif osmo-mgw" |
| 7 | |
Pau Espin Pedrol | 71ac7c0 | 2017-12-04 18:37:22 +0100 | [diff] [blame] | 8 | INC_PR="r1.${META_TELEPHONY_OSMO_INC}" |
Pau Espin Pedrol | 9f94804 | 2017-09-26 14:30:51 +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-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 | |
| 22 | PACKAGES =+ "osmo-bsc-nat-doc osmo-bsc-nat ipaccess-utils" |
| 23 | SYSTEMD_PACKAGES = "osmo-bsc" |
| 24 | SYSTEMD_SERVICE_osmo-bsc = "osmo-bsc.service" |
| 25 | |
Pau Espin Pedrol | 71ac7c0 | 2017-12-04 18:37:22 +0100 | [diff] [blame] | 26 | CONFFILES_osmo-bsc = "${sysconfdir}/osmocom/osmo-bsc.cfg" |
| 27 | |
Pau Espin Pedrol | 9f94804 | 2017-09-26 14:30:51 +0200 | [diff] [blame] | 28 | FILES_ipaccess-utils = " \ |
| 29 | ${bindir}/ipaccess-find \ |
| 30 | ${bindir}/ipaccess-config \ |
| 31 | ${bindir}/ipaccess-proxy \ |
| 32 | " |
| 33 | |
| 34 | FILES_osmo-bsc-nat = " \ |
| 35 | ${bindir}/osmo-bsc_nat \ |
| 36 | ${sysconfdir}/osmocom/osmo-bsc_nat.cfg \ |
| 37 | " |
Pau Espin Pedrol | 71ac7c0 | 2017-12-04 18:37:22 +0100 | [diff] [blame] | 38 | CONFFILES_osmo-bsc-nat = "${sysconfdir}/osmocom/osmo-bsc_nat.cfg" |
Pau Espin Pedrol | 9f94804 | 2017-09-26 14:30:51 +0200 | [diff] [blame] | 39 | |
| 40 | FILES_osmo-bsc-nat-doc = " ${docdir}/osmo-bsc/examples/osmo-bsc_nat " |