Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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:= libXfixes
  5. PKG_VERSION:= 4.0.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 556ffa2e75f2a3b5d92d004a6b124a6d
  8. PKG_DESCR:= X Fixes Library
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= fixesproto xextproto xproto libX11
  11. PKG_URL:= http://xorg.freedesktop.org/
  12. PKG_SITES:= ${MASTER_SITE_XORG}
  13. PKG_SUBPKGS:= LIBXFIXES LIBXFIXES_DEV
  14. PKGSC_LIBXFIXES_DEV:= x11/devel
  15. PKGSD_LIBXFIXES_DEV:= X Fixes headers
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBXFIXES,libxfixes,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBXFIXES_DEV,libxfixes-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXFIXES_DEV},${PKGSC_LIBXFIXES_DEV}))
  19. libxfixes-install:
  20. $(INSTALL_DIR) $(IDIR_LIBXFIXES)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/libXfixes*.so* \
  22. $(IDIR_LIBXFIXES)/usr/lib
  23. libxfixes-dev-install:
  24. $(INSTALL_DIR) $(IDIR_LIBXFIXES_DEV)/usr/include/X11/extensions
  25. $(CP) $(WRKINST)/usr/include/X11/extensions/Xfixes.h \
  26. $(IDIR_LIBXFIXES_DEV)/usr/include/X11/extensions
  27. $(INSTALL_DIR) $(IDIR_LIBXFIXES_DEV)/usr/lib/pkgconfig
  28. $(CP) $(WRKINST)/usr/lib/pkgconfig/xfixes.pc \
  29. $(IDIR_LIBXFIXES_DEV)/usr/lib/pkgconfig
  30. include ${TOPDIR}/mk/pkg-bottom.mk