]>
Commit | Line | Data |
---|---|---|
a904827c | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
a904827c MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = readline |
11676d9f | 7 | version = 7.0 |
7a5a8b32 | 8 | release = 1 |
802ea3af MT |
9 | |
10 | groups = System/Libraries | |
11 | url = ftp://ftp.gnu.org/gnu/readline/ | |
12 | license = GPLv3+ | |
13 | summary = A library for editing typed command lines. | |
14 | ||
15 | description | |
16 | The Readline library provides a set of functions that allow users to | |
17 | edit command lines. Both Emacs and vi editing modes are available. | |
18 | The Readline library includes additional functions for maintaining a | |
19 | list of previously-entered command lines for recalling or editing | |
20 | those lines, and for performing csh-like history expansion on | |
a904827c | 21 | previous commands. |
802ea3af MT |
22 | end |
23 | ||
24 | source_dl = ftp://ftp.gnu.org/gnu/readline/ | |
25 | ||
26 | build | |
27 | requires | |
802ea3af MT |
28 | ncurses-devel |
29 | end | |
30 | ||
802ea3af MT |
31 | make_build_targets += \ |
32 | SHLIB_LIBS=-lncurses | |
33 | ||
34 | install_cmds | |
35 | # Remove a bunch of *.c files | |
36 | rm -rfv %{BUILDROOT}/usr/share/readline | |
37 | ||
802ea3af MT |
38 | mkdir -pv %{BUILDROOT}/etc/profile.d |
39 | cp -vf %{DIR_SOURCE}/readline.sh %{BUILDROOT}/etc/profile.d/ | |
802ea3af MT |
40 | end |
41 | end | |
42 | ||
43 | packages | |
44 | package %{name} | |
6137af44 | 45 | |
802ea3af MT |
46 | package %{name}-devel |
47 | template DEVEL | |
48 | end | |
1f9bc2f0 MT |
49 | |
50 | package %{name}-debuginfo | |
51 | template DEBUGINFO | |
52 | end | |
802ea3af | 53 | end |