summaryrefslogtreecommitdiffstats
path: root/rules/xorg-lib-xshmfence.make
blob: 80a95aba9d33a9e84ed2c33704b2abd5cf0e01e3 (plain) (blame)
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) 2014 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_XORG_LIB_XSHMFENCE) += xorg-lib-xshmfence

#
# Paths and names
#
XORG_LIB_XSHMFENCE_VERSION	:= 1.3
XORG_LIB_XSHMFENCE_MD5		:= 42dda8016943dc12aff2c03a036e0937
XORG_LIB_XSHMFENCE		:= libxshmfence-$(XORG_LIB_XSHMFENCE_VERSION)
XORG_LIB_XSHMFENCE_SUFFIX	:= tar.bz2
XORG_LIB_XSHMFENCE_URL		:= $(call ptx/mirror, XORG, individual/lib/$(XORG_LIB_XSHMFENCE).$(XORG_LIB_XSHMFENCE_SUFFIX))
XORG_LIB_XSHMFENCE_SOURCE	:= $(SRCDIR)/$(XORG_LIB_XSHMFENCE).$(XORG_LIB_XSHMFENCE_SUFFIX)
XORG_LIB_XSHMFENCE_DIR		:= $(BUILDDIR)/$(XORG_LIB_XSHMFENCE)
XORG_LIB_XSHMFENCE_LICENSE	:= MIT

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

#
# autoconf
#
XORG_LIB_XSHMFENCE_CONF_TOOL	:= autoconf
XORG_LIB_XSHMFENCE_CONF_OPT	:= \
	$(CROSS_AUTOCONF_USR) \
	--disable-selective-werror \
	--disable-strict-compilation \
	--enable-futex

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

$(STATEDIR)/xorg-lib-xshmfence.targetinstall:
	@$(call targetinfo)

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

	@$(call install_lib, xorg-lib-xshmfence, 0, 0, 0644, libxshmfence)

	@$(call install_finish, xorg-lib-xshmfence)

	@$(call touch)

# vim: syntax=make