Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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. PKGSS_LIBXP_DEV:= printproto
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBXP,libxp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBXP_DEV,libxp-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXP_DEV},${PKGSC_LIBXP_DEV}))
  19. libxp-install:
  20. ${INSTALL_DIR} ${IDIR_LIBXP}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libXp.so* ${IDIR_LIBXP}/usr/lib
  22. libxp-dev-install:
  23. ${INSTALL_DIR} ${IDIR_LIBXP_DEV}/usr/lib/pkgconfig
  24. ${INSTALL_DATA} ${WRKBUILD}/*.pc \
  25. ${IDIR_LIBXP_DEV}/usr/lib/pkgconfig
  26. include ${TOPDIR}/mk/pkg-bottom.mk