]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
New package: less.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 2 Dec 2009 16:43:55 +0000 (17:43 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 2 Dec 2009 16:43:55 +0000 (17:43 +0100)
pkgs/core/less/less.nm [new file with mode: 0644]

diff --git a/pkgs/core/less/less.nm b/pkgs/core/less/less.nm
new file mode 100644 (file)
index 0000000..c8fbd4c
--- /dev/null
@@ -0,0 +1,62 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt                 #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include $(PKGROOT)/Include
+
+PKG_NAME       = less
+PKG_VER        = 436
+PKG_REL        = 0
+
+PKG_MAINTAINER =
+PKG_GROUP      = Applications/Text
+PKG_URL        = http://www.greenwoodsoftware.com/less/
+PKG_LICENSE    = GPLv3+
+PKG_SUMMARY    = A text file browser similar to more, but better.
+
+PKG_DEPS      += ncurses pcre
+
+define PKG_DESCRIPTION
+       The less utility is a text file browser that resembles more, but has \
+       more capabilities. Less allows you to move backwards in the file as \
+       well as forwards. Since less doesn't have to read the entire input file \
+       before it starts, less starts up more quickly than text editors (for \
+       example, vi).
+endef
+
+PKG_TARBALL    = $(THISAPP).tar.gz
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+define STAGE_BUILD
+       cd $(DIR_APP) && \
+               ./configure \
+                       $(CONFIGURE_ARCH) \
+                       --prefix=/usr \
+                       --with-secure \
+                       --with-regex=pcre
+
+       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
+endef