summaryrefslogtreecommitdiffstats
path: root/packaging/deb
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/deb')
-rw-r--r--packaging/deb/agl-libappcontroller.dsc21
-rw-r--r--packaging/deb/debian.agl-libappcontroller-dev.install2
-rw-r--r--packaging/deb/debian.changelog5
-rw-r--r--packaging/deb/debian.compat1
-rw-r--r--packaging/deb/debian.control22
-rw-r--r--packaging/deb/debian.rules17
6 files changed, 68 insertions, 0 deletions
diff --git a/packaging/deb/agl-libappcontroller.dsc b/packaging/deb/agl-libappcontroller.dsc
new file mode 100644
index 0000000..05fbdbb
--- /dev/null
+++ b/packaging/deb/agl-libappcontroller.dsc
@@ -0,0 +1,21 @@
+Format: 1.0
+Source: agl-libappcontroller
+Binary: agl-libappcontroller-bin, agl-libappcontroller-dev
+Architecture: any
+Version: 2.0-0
+Maintainer: romain.forlot <romain.forlot@iot.bzh>
+Standards-Version: 3.8.2
+Homepage: https://gerrit.automotivelinux.org/gerrit/src/libappcontroller
+Build-Depends: debhelper (>= 5),
+ cmake,
+ dpkg-dev,
+ pkg-config,
+ liblua5.3-dev,
+ libjson-c-dev,
+ libsystemd-dev,
+ agl-libafb-helpers-dev,
+ agl-app-framework-binder-bin,
+ agl-app-framework-binder-dev,
+DEBTRANSFORM-RELEASE: 1
+Files:
+ libappcontroller_2.0.tar.gz
diff --git a/packaging/deb/debian.agl-libappcontroller-dev.install b/packaging/deb/debian.agl-libappcontroller-dev.install
new file mode 100644
index 0000000..c0778a3
--- /dev/null
+++ b/packaging/deb/debian.agl-libappcontroller-dev.install
@@ -0,0 +1,2 @@
+/opt/AGL/lib/*/pkgconfig/*.pc
+/opt/AGL/lib/*/*.a
diff --git a/packaging/deb/debian.changelog b/packaging/deb/debian.changelog
new file mode 100644
index 0000000..9678b52
--- /dev/null
+++ b/packaging/deb/debian.changelog
@@ -0,0 +1,5 @@
+agl-libappcontroller (2.0-0) unstable; urgency=low
+
+ * init build
+
+ -- Romain Forlot <romain.forlot@iot.bzh> Fri, 28 Dec 2018 10:50:38 +0100
diff --git a/packaging/deb/debian.compat b/packaging/deb/debian.compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/packaging/deb/debian.compat
@@ -0,0 +1 @@
+9
diff --git a/packaging/deb/debian.control b/packaging/deb/debian.control
new file mode 100644
index 0000000..377d815
--- /dev/null
+++ b/packaging/deb/debian.control
@@ -0,0 +1,22 @@
+Priority: optional
+Maintainer: romain.forlot <romain.forlot@iot.bzh>
+Source: agl-libappcontroller
+Build-Depends:
+ debhelper (>= 5),
+ pkg-config,
+ cmake,
+ liblua5.3-dev,
+ libjson-c-dev,
+ libsystemd-dev,
+ agl-libafb-helpers-dev,
+ agl-app-framework-binder-bin,
+ agl-app-framework-binder-dev,
+Standards-Version: 3.8.2
+Homepage: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/libappcontroller
+
+Package: agl-libappcontroller-dev
+Section: libs
+Architecture: any
+Depends: agl-libappcontroller-bin
+Description: libappcontroller provides a generic controller library to be use
+ to quickly develop a binding.
diff --git a/packaging/deb/debian.rules b/packaging/deb/debian.rules
new file mode 100644
index 0000000..c4b4d59
--- /dev/null
+++ b/packaging/deb/debian.rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+export VERSION=$(shell grep -E "^Version" ../*dsc | sed -r 's/^.*: (.*)-.*/\1/')
+
+%:
+ bash /etc/profile.d/AGL-app-framework-binder.sh
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure -- -DVERSION=${VERSION} -DAFB_HELPERS_QT=ON -DCMAKE_INSTALL_PREFIX=/opt/AGL -DCMAKE_INSTALL_LIBDIR:PATH=lib/${DEB_HOST_MULTIARCH}
+
+override_dh_auto_install:
+ dh_auto_install --destdir=/usr/src/packages/BUILD/debian/tmp
+
+override_dh_auto_test: