1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Applications/Text
11 url = http://www.greenwoodsoftware.com/less/
13 summary = A text file browser similar to more, but better.
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 \
23 source_dl = http://www.greenwoodsoftware.com/less/
31 configure_options += \
35 CFLAGS += -D_GNU_SOURCE
38 mkdir -pv %{BUILDROOT}/etc/profile.d
39 install -v -m 755 %{DIR_SOURCE}/less.sh %{BUILDROOT}/etc/profile.d
41 mkdir -pv %{BUILDROOT}/usr/bin
42 install -v -m 755 %{DIR_SOURCE}/lesspipe.sh %{BUILDROOT}/usr/bin
51 package %{name}-debuginfo