Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= p5-class-xsaccessor
  5. PKG_VERSION:= 1.19
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 99c56b395f1239af19901f2feeb125d9ecb4e351a0d80daa9529211a4700a6f2
  8. PKG_DESCR:= generate fast xs accessors without runtime compilation
  9. PKG_SECTION:= dev/perl
  10. PKG_DEPENDS:= perl
  11. PKG_BUILDDEP:= perl
  12. PKG_SITES:= http://cpan.metacpan.org/authors/id/S/SM/SMUELLER/
  13. DISTFILES:= Class-XSAccessor-${PKG_VERSION}.tar.gz
  14. WRKDIST= ${WRKDIR}/Class-XSAccessor-${PKG_VERSION}
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,P5_CLASS_XSACCESSOR,p5-class-xsaccessor,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. include $(ADK_TOPDIR)/mk/perl.mk
  18. CONFIG_STYLE:= perl
  19. XAKE_FLAGS+= $(PERL_ENV)
  20. p5-class-xsaccessor-install:
  21. $(INSTALL_DIR) $(IDIR_P5_CLASS_XSACCESSOR)$(PERL_SITEDIR)
  22. $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
  23. $(IDIR_P5_CLASS_XSACCESSOR)$(PERL_SITEDIR)
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk