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.

48 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2010-2015 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:=less
  9. PKG_VERSION:=590
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:= @GNU/less \
  13. http://www.greenwoodsoftware.com/less
  14. PKG_HASH:=6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10
  15. PKG_LICENSE:=GPL-3.0-or-later
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_MAINTAINER:=Julen Landa Alustiza <julen@zokormazo.info>
  18. PKG_CPE_ID:=cpe:/a:gnu:less
  19. PKG_INSTALL:=1
  20. PKG_BUILD_PARALLEL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. define Package/less
  23. SECTION:=utils
  24. CATEGORY:=Utilities
  25. TITLE:=Pager program similar to more
  26. URL:=http://www.greenwoodsoftware.com/less/
  27. ALTERNATIVES:=200:/usr/bin/less:/usr/libexec/less-gnu
  28. DEPENDS:=+libncursesw
  29. PROVIDES:=less-wide
  30. endef
  31. define Package/less/description
  32. Full version of GNU less utility
  33. endef
  34. define Package/less/install
  35. $(INSTALL_DIR) $(1)/usr/libexec
  36. $(CP) $(PKG_INSTALL_DIR)/usr/bin/less $(1)/usr/libexec/less-gnu
  37. endef
  38. $(eval $(call BuildPackage,less))