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

include $(TOPDIR)/rules.mk

PKG_NAME:=		libXxf86vm
PKG_VERSION:=		1.1.2
PKG_RELEASE:=		2
PKG_MD5SUM:=		84d26e26c07f8cbcb5f447590df5b5c3
PKG_DESCR:=		an interface to the XFree86-VidModeExtension extension
PKG_SECTION:=		x11/libs
PKG_BUILDDEP:=		xf86vidmodeproto libXext
PKG_SITES:=		${MASTER_SITE_XORG}
PKG_LIBNAME:=		libxxf86vm
PKG_OPTS:=		dev

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LIBXXF86VM,libxxf86vm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))

CONFIGURE_ARGS+=	--disable-malloc0returnsnull

libxxf86vm-install:
	$(INSTALL_DIR) $(IDIR_LIBXXF86VM)/usr/lib
	${CP} $(WRKINST)/usr/lib/libXxf86vm*.so* \
		$(IDIR_LIBXXF86VM)/usr/lib

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