Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= libpciaccess
  5. PKG_VERSION:= 0.11.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 8f7ea197384e5ddd1c355f55e639f677
  8. PKG_DESCR:= X.org PCI access library
  9. PKG_SECTION:= x11/libs
  10. PKG_SITES:= ${MASTER_SITE_XORG}
  11. PKG_SUBPKGS:= LIBPCIACCESS LIBPCIACCESS_DEV
  12. PKGSD_LIBPCIACCESS_DEV:=X.org PCI access headers
  13. PKGSC_LIBPCIACCESS_DEV:=devel
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,LIBPCIACCESS,libpciaccess,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. $(eval $(call PKG_template,LIBPCIACCESS_DEV,libpciaccess-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBPCIACCESS_DEV},${PKGSC_LIBPCIACCESS_DEV}))
  17. libpciaccess-install:
  18. ${INSTALL_DIR} ${IDIR_LIBPCIACCESS}/usr/lib
  19. ${CP} ${WRKINST}/usr/lib/libpciaccess.so* \
  20. ${IDIR_LIBPCIACCESS}/usr/lib
  21. libpciaccess-dev-install:
  22. ${INSTALL_DIR} ${IDIR_LIBPCIACCESS_DEV}/usr/include
  23. ${CP} ${WRKINST}/usr/include/pciaccess.h \
  24. ${IDIR_LIBPCIACCESS_DEV}/usr/include
  25. ${INSTALL_DIR} ${IDIR_LIBPCIACCESS_DEV}/usr/lib/pkgconfig
  26. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/pciaccess.pc \
  27. ${IDIR_LIBPCIACCESS_DEV}/usr/lib/pkgconfig
  28. include ${TOPDIR}/mk/pkg-bottom.mk