]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - less/less.nm
less: Update to 551
[people/stevee/ipfire-3.x.git] / less / less.nm
CommitLineData
6c8e4af3 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
6c8e4af3
MT
4###############################################################################
5
802ea3af 6name = less
e54bb56d 7version = 551
a012d851 8release = 1
6c8e4af3 9
c767415b 10groups = Applications/Text
802ea3af
MT
11url = http://www.greenwoodsoftware.com/less/
12license = GPLv3+
13summary = A text file browser similar to more, but better.
6c8e4af3 14
802ea3af 15description
e54bb56d
SS
16 The less utility is a text file browser that resembles more, but has
17 more capabilities. Less allows you to move backwards in the file as
18 well as forwards. Since less doesn't have to read the entire input file
19 before it starts, less starts up more quickly than text editors (for
6c8e4af3 20 example, vi).
802ea3af
MT
21end
22
a012d851 23source_dl = http://www.greenwoodsoftware.com/less/
802ea3af
MT
24
25build
26 requires
e54bb56d 27 ncurses-devel >= 6.1
802ea3af
MT
28 pcre-devel
29 end
6c8e4af3 30
802ea3af
MT
31 configure_options += \
32 --sysconfdir=/etc \
33 --with-regex=pcre
6c8e4af3 34
802ea3af 35 CFLAGS += -D_GNU_SOURCE
e59ed132 36
802ea3af
MT
37 install_cmds
38 mkdir -pv %{BUILDROOT}/etc/profile.d
39 install -v -m 755 %{DIR_SOURCE}/less.sh %{BUILDROOT}/etc/profile.d
e59ed132 40
802ea3af
MT
41 mkdir -pv %{BUILDROOT}/usr/bin
42 install -v -m 755 %{DIR_SOURCE}/lesspipe.sh %{BUILDROOT}/usr/bin
43 end
44end
e59ed132 45
802ea3af
MT
46packages
47 package %{name}
c767415b 48 groups += Base
802ea3af 49 end
1f9bc2f0
MT
50
51 package %{name}-debuginfo
52 template DEBUGINFO
53 end
802ea3af 54end