1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Libraries
11 url = ftp://ftp.gnu.org/gnu/readline/
13 summary = A library for editing typed command lines.
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
24 source_dl = ftp://ftp.gnu.org/gnu/readline/
32 configure_options += \
35 make_build_targets += \
39 # Remove a bunch of *.c files
40 rm -rfv %{BUILDROOT}/usr/share/readline
42 mkdir -pv %{BUILDROOT}%{libdir}
43 rm -fv %{BUILDROOT}/%{lib}/lib{readline,history}.so
44 ln -sfv ../../%{lib}/libreadline.so.6 %{BUILDROOT}%{libdir}/libreadline.so
45 ln -sfv ../../%{lib}/libhistory.so.6 %{BUILDROOT}%{libdir}/libhistory.so
47 mkdir -pv %{BUILDROOT}/etc/profile.d
48 cp -vf %{DIR_SOURCE}/readline.sh %{BUILDROOT}/etc/profile.d/
59 package %{name}-debuginfo