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.

44 lines
1.0 KiB

  1. #
  2. # Copyright (C) 2010 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=perl-www-mechanize
  9. PKG_VERSION:=1.73
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=WWW-Mechanize-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/
  13. PKG_MD5SUM:=de0a9c528c12793c881151301bc14d1a
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/perl/WWW-Mechanize-$(PKG_VERSION)
  15. include $(INCLUDE_DIR)/package.mk
  16. include ../perl/perlmod.mk
  17. define Package/perl-www-mechanize
  18. SUBMENU:=Perl
  19. SECTION:=lang
  20. CATEGORY:=Languages
  21. TITLE:=Perl WWW Mechanize
  22. URL:=http://search.cpan.org/dist/WWW-Mechanize/
  23. DEPENDS:=perl +perl-www
  24. endef
  25. define Build/Configure
  26. $(call perlmod/Configure,$(STAGING_DIR)/usr/include,)
  27. endef
  28. define Build/Compile
  29. $(call perlmod/Compile,,)
  30. endef
  31. define Package/perl-www-mechanize/install
  32. $(call perlmod/Install,$(1),WWW/Mechanize WWW/Mechanize.pm)
  33. endef
  34. $(eval $(call BuildPackage,perl-www-mechanize))