[package] add less, full version
[packages.git] / utils / less / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=less
11 PKG_VERSION:=436
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.greenwoodsoftware.com/less
16 PKG_MD5SUM:=817bf051953ad2dea825a1cdf460caa4
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/less
21   SECTION:=utils
22   CATEGORY:=Utilities
23   TITLE:=Pager program similar to more
24   DEPENDS:= +libncurses
25   URL:=http://www.greenwoodsoftware.com/less/
26 endef
27
28 define Package/less/description
29   Full version of GNU less utility
30 endef
31
32 define Package/less/install
33         $(INSTALL_DIR) $(1)/usr/bin
34         $(CP) $(PKG_BUILD_DIR)/less $(1)/usr/bin/less
35 endef
36
37 $(eval $(call BuildPackage,less))