Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= libXp
  5. PKG_VERSION:= 1.0.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a960c831f11e6b4249fde78a5b969000
  8. PKG_DESCR:= X Print library
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= libXext printproto
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_SUBPKGS:= LIBXP LIBXP_DEV
  13. PKGSD_LIBXP_DEV:= X Print headers
  14. PKGSC_LIBXP_DEV:= x11/devel
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBXP,libpt,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBXP_DEV,libpt-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXP_DEV},${PKGSC_LIBXP_DEV}))
  18. libxp-install:
  19. ${INSTALL_DIR} ${IDIR_LIBXP}/usr/lib
  20. ${CP} ${WRKINST}/usr/lib/libXp.so* ${IDIR_LIBXP}/usr/lib
  21. libxp-dev-install:
  22. ${INSTALL_DIR} ${IDIR_LIBXP_DEV}/usr/include
  23. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBXP_DEV}/usr/include
  24. ${INSTALL_DIR} ${IDIR_LIBXP_DEV}/usr/lib/pkgconfig
  25. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/*.pc \
  26. ${IDIR_LIBXP_DEV}/usr/lib/pkgconfig
  27. include ${TOPDIR}/mk/pkg-bottom.mk