]> git.ipfire.org Git - ipfire-3.x.git/blob - less/less.nm
ccache: Update to 3.7.1
[ipfire-3.x.git] / less / less.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = less
7 version = 530
8 release = 1
9
10 groups = Applications/Text
11 url = http://www.greenwoodsoftware.com/less/
12 license = GPLv3+
13 summary = A text file browser similar to more, but better.
14
15 description
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).
21 end
22
23 source_dl = http://www.greenwoodsoftware.com/less/
24
25 build
26 requires
27 ncurses-devel
28 pcre-devel
29 end
30
31 configure_options += \
32 --sysconfdir=/etc \
33 --with-regex=pcre
34
35 CFLAGS += -D_GNU_SOURCE
36
37 install_cmds
38 mkdir -pv %{BUILDROOT}/etc/profile.d
39 install -v -m 755 %{DIR_SOURCE}/less.sh %{BUILDROOT}/etc/profile.d
40
41 mkdir -pv %{BUILDROOT}/usr/bin
42 install -v -m 755 %{DIR_SOURCE}/lesspipe.sh %{BUILDROOT}/usr/bin
43 end
44 end
45
46 packages
47 package %{name}
48 groups += Base
49 end
50
51 package %{name}-debuginfo
52 template DEBUGINFO
53 end
54 end