Hullo,

I got tired of struggling with less equivalent from busybox so here's
a package with the full newest version.

kkk
From 61bfa731ab3257062f261e2b25a7c25bfcee7547 Mon Sep 17 00:00:00 2001
From: koniu <gkusni...@gmail.com>
Date: Wed, 22 Dec 2010 07:13:31 +0000
Subject: [PATCH] new package less - full version

Signed-off-by: koniu <gkusni...@gmail.com>
---
 utils/less/Makefile |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)
 create mode 100644 utils/less/Makefile

diff --git a/utils/less/Makefile b/utils/less/Makefile
new file mode 100644
index 0000000..1028631
--- /dev/null
+++ b/utils/less/Makefile
@@ -0,0 +1,37 @@
+# 
+# Copyright (C) 2010 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=less
+PKG_VERSION:=436
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://www.greenwoodsoftware.com/less
+PKG_MD5SUM:=817bf051953ad2dea825a1cdf460caa4
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/less
+  SECTION:=utils
+  CATEGORY:=Utilities
+  TITLE:=Pager program similar to more
+  DEPENDS:= +libncurses
+  URL:=http://www.greenwoodsoftware.com/less/
+endef
+
+define Package/less/description
+  Full version of GNU less utility
+endef
+
+define Package/less/install
+        $(INSTALL_DIR) $(1)/usr/bin
+	$(CP) $(PKG_BUILD_DIR)/less $(1)/usr/bin/less
+endef
+
+$(eval $(call BuildPackage,less))
-- 
1.7.2.3

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to