]>
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 |
7a5a8b32 MT |
7 | version = 6.3 |
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 | |
28 | audit-devel | |
29 | ncurses-devel | |
30 | end | |
31 | ||
802ea3af MT |
32 | make_build_targets += \ |
33 | SHLIB_LIBS=-lncurses | |
34 | ||
35 | install_cmds | |
36 | # Remove a bunch of *.c files | |
37 | rm -rfv %{BUILDROOT}/usr/share/readline | |
38 | ||
802ea3af MT |
39 | mkdir -pv %{BUILDROOT}/etc/profile.d |
40 | cp -vf %{DIR_SOURCE}/readline.sh %{BUILDROOT}/etc/profile.d/ | |
802ea3af MT |
41 | end |
42 | end | |
43 | ||
44 | packages | |
45 | package %{name} | |
6137af44 | 46 | |
802ea3af MT |
47 | package %{name}-devel |
48 | template DEVEL | |
49 | end | |
1f9bc2f0 MT |
50 | |
51 | package %{name}-debuginfo | |
52 | template DEBUGINFO | |
53 | end | |
802ea3af | 54 | end |