diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-14 13:54:24 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-01-30 22:46:13 +0100 |
commit | 8e5ec7223891e31c53f4a5260d2f73a6057b6102 (patch) | |
tree | 702021167aa096424e2b163140b8e288466a70ab | |
parent | baff81459b9b91506df970847abb681b3c66ff0b (diff) |
osmo-hlr: handle systemd and cfg files through autotools
Change-Id: I1e3725c6ffef9223015df8cf76b5d5c884a76fce
-rw-r--r-- | recipes-osmocom/osmo-hlr/osmo-hlr.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes-osmocom/osmo-hlr/osmo-hlr.inc b/recipes-osmocom/osmo-hlr/osmo-hlr.inc index 946784b..7fa415b 100644 --- a/recipes-osmocom/osmo-hlr/osmo-hlr.inc +++ b/recipes-osmocom/osmo-hlr/osmo-hlr.inc @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788" DEPENDS = "libtalloc libosmocore libosmo-abis sqlite3 sqlite3-native" -INC_PR="r1.${META_TELEPHONY_OSMO_INC}" +INC_PR="r2.${META_TELEPHONY_OSMO_INC}" inherit autotools pkgconfig systemd @@ -15,15 +15,15 @@ do_compile_append() { } do_install_append() { - install -d ${D}${systemd_system_unitdir}/ - install -d ${D}${sysconfdir}/osmocom/ install -d ${D}${localstatedir}/lib/osmocom/ - - install -m 0644 ${S}/doc/examples/osmo-hlr.cfg ${D}${sysconfdir}/osmocom/ - install -m 0644 ${S}/contrib/systemd/osmo-hlr.service ${D}${systemd_system_unitdir}/ install -m 0644 ${WORKDIR}/hlr.db ${D}${localstatedir}/lib/osmocom/hlr.db } +PACKAGECONFIG ??= "\ + ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ + " +PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir" + PACKAGES =+ "libosmo-gsup-client libosmo-gsup-client-dev osmo-hlr-utils" FILES_libosmo-gsup-client = "${libdir}/libosmo-gsup-client${SOLIBS}" |