]> git.ipfire.org Git - ipfire-3.x.git/blame - compat-readline/compat-readline.nm
libuv: New package
[ipfire-3.x.git] / compat-readline / compat-readline.nm
CommitLineData
11676d9f
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = compat-readline
8ef817a8 7version = 7.0
11676d9f
MT
8release = 1
9
10thisapp = readline-%{version}
11
12groups = System/Libraries
13url = ftp://ftp.gnu.org/gnu/readline/
14license = GPLv3+
15summary = A library for editing typed command lines
16
17description
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.
24end
25
26source_dl = ftp://ftp.gnu.org/gnu/readline/
27
28build
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
8ef817a8
MT
44 install -m 755 shlib/libhistory.so.7.0 %{BUILDROOT}%{libdir}
45 ln -svf libhistory.so.7.0 %{BUILDROOT}%{libdir}/libhistory.so.7
11676d9f 46
8ef817a8
MT
47 install -m 755 shlib/libreadline.so.7.0 %{BUILDROOT}%{libdir}
48 ln -svf libreadline.so.7.0 %{BUILDROOT}%{libdir}/libreadline.so.7
11676d9f
MT
49 end
50end
51
52packages
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
66end