9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do###############################################################################
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do#
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do#
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# Permission is hereby granted, free of charge, to any person obtaining a
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# copy of this software and associated documentation files (the "Software"),
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# to deal in the Software without restriction, including without limitation
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# the rights to use, copy, modify, merge, publish, distribute, sublicense,
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# and/or sell copies of the Software, and to permit persons to whom the
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# Software is furnished to do so, subject to the following conditions:
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do#
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# The above copyright notice and this permission notice (including the next
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# paragraph) shall be included in all copies or substantial portions of the
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# Software.
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do#
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# DEALINGS IN THE SOFTWARE.
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do#
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do#
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# Package name used in tarballs
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang DoMODULE_NAME=xproto
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# Version number (used in path names)
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang DoMODULE_VERSION=7.0.24
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang Do# Checksums for upstream tarball
9c7bbd7179a96404fb22fa83f4680174da8b2239Trang DoTARBALL_MD5 = 9c0203c3bee4bac432ec504dc45712ed
TARBALL_SHA1 = c05b5757174839644f2fd98c1b062150494b6b15
TARBALL_SHA256= 3698a1c7e3b734bc1139a7eb694ed8c66188658d6b4dea3d567066fe4e88b2fc
# Patches to apply to source after unpacking, in order
SOURCE_PATCHES= \
X.h-patch,-p1
# ARC cases that covered this module
# PSARC/2001/108 X11 Over IPv6
MODULE_ARC_CASES = PSARC/2001/108
# Package metadata
MODULE_DESC = headers & documentation for the X11 protocol
### Include common rulesets
include ../Makefile.inc
# Special compatibility link from /usr/X11/include/X11 to /usr/include/X11
X11_INC_COMPAT_LINK = $(PROTODIR)/usr/X11/include/X11
install_X11_compat_links: $(X11_INC_COMPAT_LINK)
$(X11_INC_COMPAT_LINK):
mkdir -p $(@D)
ln -s ../../include/X11 $@