summaryrefslogtreecommitdiffstats
path: root/rules/xorg-app-xrandr.make
blob: 920ddf44b0350ca39fc9ab472d653175b9db4555 (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
58
59
# -*-makefile-*-
#
# Copyright (C) 2009 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_XORG_APP_XRANDR) += xorg-app-xrandr

#
# Paths and names
#
XORG_APP_XRANDR_VERSION	:= 1.3.5
XORG_APP_XRANDR_MD5	:= 9735173a84dca9b05e06fd4686196b07
XORG_APP_XRANDR		:= xrandr-$(XORG_APP_XRANDR_VERSION)
XORG_APP_XRANDR_SUFFIX	:= tar.bz2
XORG_APP_XRANDR_URL	:= $(call ptx/mirror, XORG, individual/app/$(XORG_APP_XRANDR).$(XORG_APP_XRANDR_SUFFIX))
XORG_APP_XRANDR_SOURCE	:= $(SRCDIR)/$(XORG_APP_XRANDR).$(XORG_APP_XRANDR_SUFFIX)
XORG_APP_XRANDR_DIR	:= $(BUILDDIR)/$(XORG_APP_XRANDR)
XORG_APP_XRANDR_LICENSE	:= unknown

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

#
# autoconf
#
XORG_APP_XRANDR_CONF_TOOL := autoconf

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

$(STATEDIR)/xorg-app-xrandr.targetinstall:
	@$(call targetinfo)

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

	@$(call install_copy, xorg-app-xrandr, 0, 0, 0755, -, \
		/usr/bin/xrandr)
	@$(call install_copy, xorg-app-xrandr, 0, 0, 0755, -, \
		/usr/bin/xkeystone)

	@$(call install_finish, xorg-app-xrandr)

	@$(call touch)

# vim: syntax=make