]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - compat-readline/compat-readline.nm
54250431f3abbfc7fba91edbac7054c944deaea6
[people/pmueller/ipfire-3.x.git] / compat-readline / compat-readline.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = compat-readline
7 version = 6.3
8 release = 1
9
10 thisapp = readline-%{version}
11
12 groups = System/Libraries
13 url = ftp://ftp.gnu.org/gnu/readline/
14 license = GPLv3+
15 summary = A library for editing typed command lines
16
17 description
18 The Readline library provides a set of functions that allow users to
19 edit command lines. Both Emacs and vi editing modes are available.
20 The Readline library includes additional functions for maintaining a
21 list of previously-entered command lines for recalling or editing
22 those lines, and for performing csh-like history expansion on
23 previous commands.
24 end
25
26 source_dl = ftp://ftp.gnu.org/gnu/readline/
27
28 build
29 requires
30 ncurses-devel
31 end
32
33 make_build_targets += \
34 SHLIB_LIBS=-lncurses
35
36 test
37 make check
38 end
39
40 install
41 # Only install libraries.
42 mkdir -pv %{BUILDROOT}%{libdir}
43
44 install -m 755 shlib/libhistory.so.6.3 %{BUILDROOT}%{libdir}
45 ln -svf libhistory.so.6.3 %{BUILDROOT}%{libdir}/libhistory.so.6
46
47 install -m 755 shlib/libreadline.so.6.3 %{BUILDROOT}%{libdir}
48 ln -svf libreadline.so.6.3 %{BUILDROOT}%{libdir}/libreadline.so.6
49 end
50 end
51
52 packages
53 package %{name}
54 provides
55 readline = %{thisver}
56 end
57
58 conflicts
59 readline <= %{thisver}
60 end
61 end
62
63 package %{name}-debuginfo
64 template DEBUGINFO
65 end
66 end