]>
Commit | Line | Data |
---|---|---|
1 | ############################################################################### | |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = readline | |
7 | version = 6.2 | |
8 | release = 6 | |
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 | |
21 | previous commands. | |
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 | ||
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 | ||
39 | mkdir -pv %{BUILDROOT}/etc/profile.d | |
40 | cp -vf %{DIR_SOURCE}/readline.sh %{BUILDROOT}/etc/profile.d/ | |
41 | end | |
42 | end | |
43 | ||
44 | packages | |
45 | package %{name} | |
46 | ||
47 | package %{name}-devel | |
48 | template DEVEL | |
49 | end | |
50 | ||
51 | package %{name}-debuginfo | |
52 | template DEBUGINFO | |
53 | end | |
54 | end |