No Description

Makefile 840B

123456789101112131415161718192021222324252627282930313233343536373839
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=perl-www-curl
  3. PKG_VERSION:=4.17
  4. PKG_RELEASE:=1
  5. PKG_MD5SUM:=997ac81cd6b03b30b36f7cd930474845
  6. PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT
  7. PKG_SOURCE:=WWW-Curl-$(PKG_VERSION).tar.gz
  8. PKG_BUILD_DIR:=$(BUILD_DIR)/perl/WWW-Curl-$(PKG_VERSION)
  9. include $(INCLUDE_DIR)/package.mk
  10. include ../perl/perlmod.mk
  11. define Package/perl-www-curl
  12. SUBMENU:=Perl
  13. SECTION:=lang
  14. CATEGORY:=Languages
  15. TITLE:=Perl bindings to libcurl
  16. URL:=http://search.cpan.org/dist/WWW-Curl/
  17. DEPENDS:=perl +libcurl
  18. endef
  19. define Build/Configure
  20. $(call perlmod/Configure,$(STAGING_DIR)/usr/include,)
  21. endef
  22. define Build/Compile
  23. $(call perlmod/Compile,,)
  24. endef
  25. define Package/perl-www-curl/install
  26. $(call perlmod/Install,$(1),WWW/Curl WWW/Curl.pm auto/WWW/Curl)
  27. endef
  28. $(eval $(call BuildPackage,perl-www-curl))