]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - less/less.nm
l7-protocols: Package is of architecture noarch.
[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
MT
6name = less
7version = 444
8release = 1
6c8e4af3 9
802ea3af
MT
10groups = Base Applications/Text
11url = http://www.greenwoodsoftware.com/less/
12license = GPLv3+
13summary = A text file browser similar to more, but better.
6c8e4af3 14
802ea3af 15description
6c8e4af3
MT
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 \
20 example, vi).
802ea3af
MT
21end
22
23source_dl =
24
25build
26 requires
27 ncurses-devel
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}
48 end
49end