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 | |
| 8 | INC_PR="r0.${META_TELEPHONY_OSMO_INC}" |
| 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 | |
| 26 | FILES_ipaccess-utils = " \ |
| 27 | ${bindir}/ipaccess-find \ |
| 28 | ${bindir}/ipaccess-config \ |
| 29 | ${bindir}/ipaccess-proxy \ |
| 30 | " |
| 31 | |
| 32 | FILES_osmo-bsc-nat = " \ |
| 33 | ${bindir}/osmo-bsc_nat \ |
| 34 | ${sysconfdir}/osmocom/osmo-bsc_nat.cfg \ |
| 35 | " |
| 36 | |
| 37 | FILES_osmo-bsc-nat-doc = " ${docdir}/osmo-bsc/examples/osmo-bsc_nat " |