# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		xauth
PKG_VERSION:=		1.0.7
PKG_RELEASE:=		1
PKG_HASH:=		461afbfc508ff5ac2e600c41dd5da92fe05c389cefbb20425958bdee99b683d6
PKG_DESCR:=		authority file utility
PKG_SECTION:=		x11/utils
PKG_DEPENDS:=		libx11 libxext libxmu
PKG_BUILDDEP:=		libX11 libXext libXmu
PKG_URL:=		http://www.x.org
PKG_SITES:=		${MASTER_SITE_XORG}

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,XAUTH,xauth,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

xauth-install:
	$(INSTALL_DIR) $(IDIR_XAUTH)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/xauth $(IDIR_XAUTH)/usr/bin

include ${ADK_TOPDIR}/mk/pkg-bottom.mk
