diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2019-08-29 16:24:39 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-08-29 20:55:47 +0200 |
commit | bd753eb863052bef238b74158bc2207c932f608a (patch) | |
tree | a59c460e86e47891c2541e63a64c6b6be347eb54 /rules/sdbus-cpp.make | |
parent | 6d29c8a158b270c8a280d74a7067f66b4830caf1 (diff) | |
download | ptxdist-bd753eb863052bef238b74158bc2207c932f608a.tar.gz ptxdist-bd753eb863052bef238b74158bc2207c932f608a.tar.xz |
sdbus-cpp: new package
sdbus-c++ is a high-level C++ D-Bus library for Linux. Even though
it uses sd-bus library, it is not necessarily constrained to systemd
and can perfectly be used in non-systemd environments as well.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/sdbus-cpp.make')
-rw-r--r-- | rules/sdbus-cpp.make | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/rules/sdbus-cpp.make b/rules/sdbus-cpp.make new file mode 100644 index 000000000..6bac2beab --- /dev/null +++ b/rules/sdbus-cpp.make @@ -0,0 +1,57 @@ +# -*-makefile-*- +# +# Copyright (C) 2019 by Ladislav Michl <ladis@linux-mips.org> +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_SDBUS_CPP) += sdbus-cpp + +# +# Paths and names +# +SDBUS_CPP_VERSION := 0.7.2 +SDBUS_CPP_MD5 := b8bbaf9002ba989778967fc4f9e31e2f +SDBUS_CPP := sdbus-cpp-$(SDBUS_CPP_VERSION) +SDBUS_CPP_SUFFIX := tar.gz +SDBUS_CPP_URL := https://github.com/Kistler-Group/sdbus-cpp/archive/v$(SDBUS_CPP_VERSION).$(SDBUS_CPP_SUFFIX) +SDBUS_CPP_SOURCE := $(SRCDIR)/$(SDBUS_CPP).$(SDBUS_CPP_SUFFIX) +SDBUS_CPP_DIR := $(BUILDDIR)/$(SDBUS_CPP) +SDBUS_CPP_LICENSE := LGPL-2.1-only + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +SDBUS_CPP_CONF_TOOL := cmake +SDBUS_CPP_CONF_OPT := \ + $(CROSS_CMAKE_USR) \ + -DBUILD_TESTS=OFF \ + -DBUILD_CODE_GEN=OFF \ + -DBUILD_DOC=OFF + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/sdbus-cpp.targetinstall: + @$(call targetinfo) + + @$(call install_init, sdbus-cpp) + @$(call install_fixup, sdbus-cpp, PRIORITY, optional) + @$(call install_fixup, sdbus-cpp, SECTION, base) + @$(call install_fixup, sdbus-cpp, AUTHOR, "Ladislav Michl <ladis@linux-mips.org>") + @$(call install_fixup, sdbus-cpp, DESCRIPTION, \ + "D-Bus IPC C++ binding library built on top of sd-bus") + + @$(call install_lib, sdbus-cpp, 0, 0, 0644, libsdbus-c++) + + @$(call install_finish, sdbus-cpp) + + @$(call touch) + +# vim: syntax=make |