]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = less |
73edd0fb | 7 | version = 643 |
a012d851 | 8 | release = 1 |
6c8e4af3 | 9 | |
c767415b | 10 | groups = Applications/Text |
c18c2120 | 11 | url = https://www.greenwoodsoftware.com/less/ |
802ea3af MT |
12 | license = GPLv3+ |
13 | summary = A text file browser similar to more, but better. | |
6c8e4af3 | 14 | |
802ea3af | 15 | description |
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 |
21 | end |
22 | ||
c18c2120 | 23 | source_dl = https://www.greenwoodsoftware.com/less/ |
802ea3af MT |
24 | |
25 | build | |
26 | requires | |
e54bb56d | 27 | ncurses-devel >= 6.1 |
802ea3af MT |
28 | pcre-devel |
29 | end | |
6c8e4af3 | 30 | |
802ea3af | 31 | configure_options += \ |
802ea3af | 32 | --with-regex=pcre |
6c8e4af3 | 33 | |
c18c2120 | 34 | #CFLAGS += -D_GNU_SOURCE |
e59ed132 | 35 | |
802ea3af MT |
36 | install_cmds |
37 | mkdir -pv %{BUILDROOT}/etc/profile.d | |
38 | install -v -m 755 %{DIR_SOURCE}/less.sh %{BUILDROOT}/etc/profile.d | |
e59ed132 | 39 | |
802ea3af MT |
40 | mkdir -pv %{BUILDROOT}/usr/bin |
41 | install -v -m 755 %{DIR_SOURCE}/lesspipe.sh %{BUILDROOT}/usr/bin | |
42 | end | |
43 | end | |
e59ed132 | 44 | |
802ea3af MT |
45 | packages |
46 | package %{name} | |
1f9bc2f0 MT |
47 | |
48 | package %{name}-debuginfo | |
49 | template DEBUGINFO | |
50 | end | |
802ea3af | 51 | end |