]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - less/less.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/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 = 444
8 release = 1
9
10 groups = Base 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 =
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 end
49
50 package %{name}-debuginfo
51 template DEBUGINFO
52 end
53 end