summaryrefslogtreecommitdiffstats
path: root/rules/wayland-utils.make
blob: 91942385bcdc5b82d57609afb1a6f591e94d6bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*-makefile-*-
#
# Copyright (C) 2020 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_WAYLAND_UTILS) += wayland-utils

#
# Paths and names
#
WAYLAND_UTILS_VERSION		:= 1.0.0
WAYLAND_UTILS_MD5		:= 714875aefb10e7f683cde24e58d033ad
WAYLAND_UTILS			:= wayland-utils-$(WAYLAND_UTILS_VERSION)
WAYLAND_UTILS_SUFFIX		:= tar.xz
WAYLAND_UTILS_URL		:= https://wayland.freedesktop.org/releases//$(WAYLAND_UTILS).$(WAYLAND_UTILS_SUFFIX)
WAYLAND_UTILS_SOURCE		:= $(SRCDIR)/$(WAYLAND_UTILS).$(WAYLAND_UTILS_SUFFIX)
WAYLAND_UTILS_DIR		:= $(BUILDDIR)/$(WAYLAND_UTILS)
WAYLAND_UTILS_LICENSE		:= MIT
WAYLAND_UTILS_LICENSE_FILES	:= file://COPYING;md5=548a66038a77415e1df51118625e832f

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# meson
#
WAYLAND_UTILS_CONF_TOOL	:= meson
WAYLAND_UTILS_CONF_OPT	:=  \
	$(CROSS_MESON_USR)

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/wayland-utils.targetinstall:
	@$(call targetinfo)

	@$(call install_init, wayland-utils)
	@$(call install_fixup, wayland-utils,PRIORITY,optional)
	@$(call install_fixup, wayland-utils,SECTION,base)
	@$(call install_fixup, wayland-utils,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
	@$(call install_fixup, wayland-utils,DESCRIPTION,missing)

	@$(call install_copy, wayland-utils, 0, 0, 0755, -, /usr/bin/wayland-info)

	@$(call install_finish, wayland-utils)

	@$(call touch)

# vim: syntax=make