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.

47 lines
1022 B

  1. #
  2. # Copyright (C) 2014 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-lockfile-simple
  9. PKG_VERSION:=0.208
  10. PKG_RELEASE:=1
  11. PKG_MD5SUM:=4421283b4f32549e5299963734170044
  12. PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/J/JV/JV
  13. PKG_SOURCE:=LockFile-Simple-$(PKG_VERSION).tar.gz
  14. PKG_LICENSE:=GPLv2+ ARTISTIC
  15. PKG_BUILD_DIR:=$(BUILD_DIR)/perl/LockFile-Simple-$(PKG_VERSION)
  16. include $(INCLUDE_DIR)/package.mk
  17. include ../perl/perlmod.mk
  18. define Package/perl-lockfile-simple
  19. SUBMENU:=Perl
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. TITLE:=Simple advisory file locking
  23. URL:=http://search.cpan.org/dist/LockFile-Simple/
  24. DEPENDS:=perl
  25. endef
  26. define Build/Configure
  27. $(call perlmod/Configure,,)
  28. endef
  29. define Build/Compile
  30. $(call perlmod/Compile,,)
  31. endef
  32. define Package/perl-lockfile-simple/install
  33. $(call perlmod/Install,$(1),LockFile auto/LockFile)
  34. endef
  35. $(eval $(call BuildPackage,perl-lockfile-simple))