1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= libXau
  5. PKG_VERSION:= 1.0.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= ee1ee30c00d1e033cfc0237a349e1219
  8. PKG_DESCR:= X11 authorisation library
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= xproto
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_SUBPKGS:= LIBXAU LIBXAU_DEV
  13. PKGSD_LIBXAU_DEV:= Xauth headers
  14. PKGSC_LIBXAU_DEV:= devel
  15. ifeq ($(ADK_STATIC),y)
  16. PKG_OPTS:= libonly
  17. endif
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,LIBXAU,libxau,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. $(eval $(call PKG_template,LIBXAU_DEV,libxau-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXAU_DEV},${PKGSC_LIBXAU_DEV},${PKG_OPTS}))
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_LIBXAU}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libXau.so* ${IDIR_LIBXAU}/usr/lib/
  24. libxau-dev-install:
  25. ${INSTALL_DIR} ${IDIR_LIBXAU_DEV}/usr/include/X11/
  26. ${CP} ${WRKINST}/usr/include/X11/* \
  27. ${IDIR_LIBXAU_DEV}/usr/include/X11/
  28. include ${TOPDIR}/mk/pkg-bottom.mk