You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
878 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=perl-compress-bzip2
  3. PKG_VERSION:=2.17
  4. PKG_RELEASE:=1
  5. PKG_MD5SUM:=d8b809f6efe3edb33f81d608c932b2ef
  6. PKG_SOURCE_URL:=http://www.cpan.org/authors/id/R/RU/RURBAN/
  7. PKG_SOURCE:=Compress-Bzip2-$(PKG_VERSION).tar.gz
  8. PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Compress-Bzip2-$(PKG_VERSION)
  9. include $(INCLUDE_DIR)/package.mk
  10. include ../perl/perlmod.mk
  11. define Package/perl-compress-bzip2
  12. SUBMENU:=Perl
  13. SECTION:=lang
  14. CATEGORY:=Languages
  15. TITLE:=Perl interface to bzip2 compression library
  16. URL:=http://search.cpan.org/dist/Compress-Bzip2/
  17. DEPENDS:=perl +libbz2
  18. endef
  19. define Build/Configure
  20. $(call perlmod/Configure,,BUILD_BZLIB=0)
  21. endef
  22. define Build/Compile
  23. $(call perlmod/Compile,,)
  24. endef
  25. define Package/perl-compress-bzip2/install
  26. $(call perlmod/Install,$(1),Compress auto/Compress)
  27. endef
  28. $(eval $(call BuildPackage,perl-compress-bzip2))