summaryrefslogtreecommitdiffstats
path: root/rules/xorg-app-xset.make
blob: 98e6a8ae1a1375a04034dad7e2e3b24cdc9e2ba7 (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) 2006 by Luotao Fu <lfu@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_XSET) += xorg-app-xset

#
# Paths and names
#
XORG_APP_XSET_VERSION	:= 1.2.2
XORG_APP_XSET_MD5	:= d44e0057d6722b25d5a314e82e0b7e7c
XORG_APP_XSET		:= xset-$(XORG_APP_XSET_VERSION)
XORG_APP_XSET_SUFFIX	:= tar.bz2
XORG_APP_XSET_URL	:= $(call ptx/mirror, XORG, individual/app/$(XORG_APP_XSET).$(XORG_APP_XSET_SUFFIX))
XORG_APP_XSET_SOURCE	:= $(SRCDIR)/$(XORG_APP_XSET).$(XORG_APP_XSET_SUFFIX)
XORG_APP_XSET_DIR	:= $(BUILDDIR)/$(XORG_APP_XSET)

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

#
# autoconf
#
XORG_APP_XSET_CONF_TOOL	:= autoconf
XORG_APP_XSET_CONF_OPT	:= \
	$(CROSS_AUTOCONF_USR) \
	--datadir=$(XORG_DATADIR) \
	--with-xf86misc

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

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

	@$(call install_init, xorg-app-xset)
	@$(call install_fixup, xorg-app-xset,PRIORITY,optional)
	@$(call install_fixup, xorg-app-xset,SECTION,base)
	@$(call install_fixup, xorg-app-xset,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
	@$(call install_fixup, xorg-app-xset,DESCRIPTION,missing)

	@$(call install_copy, xorg-app-xset, 0, 0, 0755, -, /usr/bin/xset)

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

	@$(call touch)

# vim: syntax=make