Makefile 1.1 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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= p5-audio-scan
  5. PKG_VERSION:= 0.93
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 5a92f4fce0c5dc3f4f76b2266d484466ff6dfc64340371c392e678324465dc0e
  8. PKG_DESCR:= metadata and tag reader for all common audio file formats
  9. PKG_SECTION:= dev/perl
  10. PKG_DEPENDS:= perl zlib
  11. PKG_BUILDDEP:= perl zlib
  12. PKG_SITES:= http://cpan.metacpan.org/authors/id/A/AG/AGRUNDMA/
  13. DISTFILES:= Audio-Scan-${PKG_VERSION}.tar.gz
  14. WRKDIST= ${WRKDIR}/Audio-Scan-${PKG_VERSION}
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,P5_AUDIO_SCAN,p5-audio-scan,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_CFLAGS+= -fPIC
  18. include $(ADK_TOPDIR)/mk/perl.mk
  19. CONFIG_STYLE:= perl
  20. XAKE_FLAGS+= $(PERL_ENV)
  21. p5-audio-scan-install:
  22. $(INSTALL_DIR) $(IDIR_P5_AUDIO_SCAN)$(PERL_SITEDIR)
  23. $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
  24. $(IDIR_P5_AUDIO_SCAN)$(PERL_SITEDIR)
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk