]>
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 |
eb730524 | 7 | version = 530 |
a012d851 | 8 | release = 1 |
6c8e4af3 | 9 | |
c767415b | 10 | groups = Applications/Text |
802ea3af MT |
11 | url = http://www.greenwoodsoftware.com/less/ |
12 | license = GPLv3+ | |
13 | summary = A text file browser similar to more, but better. | |
6c8e4af3 | 14 | |
802ea3af | 15 | description |
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 |
21 | end |
22 | ||
a012d851 | 23 | source_dl = http://www.greenwoodsoftware.com/less/ |
802ea3af MT |
24 | |
25 | build | |
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 | |
44 | end | |
e59ed132 | 45 | |
802ea3af MT |
46 | packages |
47 | package %{name} | |
c767415b | 48 | groups += Base |
802ea3af | 49 | end |
1f9bc2f0 MT |
50 | |
51 | package %{name}-debuginfo | |
52 | template DEBUGINFO | |
53 | end | |
802ea3af | 54 | end |