From 99914a58a2d5b2638e2c1fdac5ca74a2d247e6fa Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 7 Nov 2018 10:54:01 +0100 Subject: First simple platform-info API implementation Bug-AGL: SPEC-1917 Change-Id: I300155302c9d69c6549ddabc6af53e2ad55eb18d Signed-off-by: Romain Forlot --- conf.d/packaging/deb/agl-service-platform-info.dsc | 18 ++++++++++++++++++ .../deb/debian.agl-service-platform-info.install | 1 + conf.d/packaging/deb/debian.changelog | 5 +++++ conf.d/packaging/deb/debian.compat | 1 + conf.d/packaging/deb/debian.control | 19 +++++++++++++++++++ conf.d/packaging/deb/debian.rules | 14 ++++++++++++++ 6 files changed, 58 insertions(+) create mode 100644 conf.d/packaging/deb/agl-service-platform-info.dsc create mode 100644 conf.d/packaging/deb/debian.agl-service-platform-info.install create mode 100644 conf.d/packaging/deb/debian.changelog create mode 100644 conf.d/packaging/deb/debian.compat create mode 100644 conf.d/packaging/deb/debian.control create mode 100644 conf.d/packaging/deb/debian.rules (limited to 'conf.d/packaging/deb') diff --git a/conf.d/packaging/deb/agl-service-platform-info.dsc b/conf.d/packaging/deb/agl-service-platform-info.dsc new file mode 100644 index 0000000..0c603de --- /dev/null +++ b/conf.d/packaging/deb/agl-service-platform-info.dsc @@ -0,0 +1,18 @@ +Format: 1.0 +Source: agl-service-os-info +Binary: agl-service-os-info-bin +Architecture: any +Version: 2.0-0 +Maintainer: Iot-Team +Standards-Version: 3.8.2 +Homepage: https://github.com/iotbzh/agl-service-os-info +Build-Depends: debhelper (>= 5), + pkg-config, + cmake, + gcc, + g++, + libjson-c-dev , + libsystemd-dev (>= 222), + agl-app-framework-binder-dev , + agl-libmicrohttpd-dev (>= 0.9.55) +Debtransform-Tar: agl-service-os-info_1.0.orig.tar.gz diff --git a/conf.d/packaging/deb/debian.agl-service-platform-info.install b/conf.d/packaging/deb/debian.agl-service-platform-info.install new file mode 100644 index 0000000..6399692 --- /dev/null +++ b/conf.d/packaging/deb/debian.agl-service-platform-info.install @@ -0,0 +1 @@ +/opt/AGL/* diff --git a/conf.d/packaging/deb/debian.changelog b/conf.d/packaging/deb/debian.changelog new file mode 100644 index 0000000..de0a835 --- /dev/null +++ b/conf.d/packaging/deb/debian.changelog @@ -0,0 +1,5 @@ +agl-service-os-info (1.0-0) UNRELEASED; urgency=low + + * init build + + -- Iot-Team Wed, 7 Nov 2018 10:50:38 +0100 diff --git a/conf.d/packaging/deb/debian.compat b/conf.d/packaging/deb/debian.compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/conf.d/packaging/deb/debian.compat @@ -0,0 +1 @@ +9 diff --git a/conf.d/packaging/deb/debian.control b/conf.d/packaging/deb/debian.control new file mode 100644 index 0000000..4eb8b99 --- /dev/null +++ b/conf.d/packaging/deb/debian.control @@ -0,0 +1,19 @@ +Priority: optional +Maintainer: Iot-Team +Source: agl-service-os-info +Build-Depends: debhelper (>= 5), + pkg-config, + cmake, + gcc, + g++, + libjson-c-dev , + libsystemd-dev (>= 222), + agl-app-framework-binder-dev , + agl-libmicrohttpd-dev (>= 0.9.55) +Standards-Version: 3.8.2 +Homepage: https://github.com/iotbzh/agl-service-os-info + +Package: agl-service-os-info +Section: libs +Architecture: any +Description: Provide an AGL OS information Binding diff --git a/conf.d/packaging/deb/debian.rules b/conf.d/packaging/deb/debian.rules new file mode 100644 index 0000000..5bc5fc2 --- /dev/null +++ b/conf.d/packaging/deb/debian.rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + bash /etc/profile.d/AGL-app-framework-binder.sh + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/opt/AGL/afm/applications/ + +override_dh_auto_install: + dh_auto_install --destdir=/usr/src/packages/BUILD/debian/tmp -- cgit 1.2.3-korg