]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - readline/readline.nm
Merge remote-tracking branch 'stevee/xen-iasl'
[people/amarx/ipfire-3.x.git] / readline / readline.nm
CommitLineData
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
MT
6name = readline
7version = 6.2
6137af44 8release = 4
802ea3af
MT
9
10groups = System/Libraries
11url = ftp://ftp.gnu.org/gnu/readline/
12license = GPLv3+
13summary = A library for editing typed command lines.
14
15description
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
22end
23
24source_dl = ftp://ftp.gnu.org/gnu/readline/
25
26build
27 requires
28 audit-devel
29 ncurses-devel
30 end
31
32 configure_options += \
33 --libdir=/lib \
34
35 make_build_targets += \
36 SHLIB_LIBS=-lncurses
37
38 install_cmds
39 # Remove a bunch of *.c files
40 rm -rfv %{BUILDROOT}/usr/share/readline
41
42 mkdir -pv %{BUILDROOT}/usr/lib
43 rm -fv %{BUILDROOT}/lib/lib{readline,history}.so
44 ln -sfv ../../lib/libreadline.so.6 %{BUILDROOT}/usr/lib/libreadline.so
45 ln -sfv ../../lib/libhistory.so.6 %{BUILDROOT}/usr/lib/libhistory.so
46
47 mkdir -pv %{BUILDROOT}/etc/profile.d
48 cp -vf %{DIR_SOURCE}/readline.sh %{BUILDROOT}/etc/profile.d/
802ea3af
MT
49 end
50end
51
52packages
53 package %{name}
6137af44 54
802ea3af
MT
55 package %{name}-devel
56 template DEVEL
57 end
1f9bc2f0
MT
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61 end
802ea3af 62end