ipfire-3.x/readline/readline.nm

54 lines
1.4 KiB
Plaintext

###############################################################################
# IPFire.org - An Open Source Firewall Solution #
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
name = readline
version = 8.2
release = 2
groups = System/Libraries
url = https://tiswww.case.edu/php/chet/readline/rltop.html
license = GPLv3+
summary = A library for editing typed command lines.
description
The Readline library provides a set of functions that allow users to
edit command lines. Both Emacs and vi editing modes are available.
The Readline library includes additional functions for maintaining a
list of previously-entered command lines for recalling or editing
those lines, and for performing csh-like history expansion on
previous commands.
end
source_dl = ftp://ftp.cwru.edu/pub/bash/
build
requires
ncurses-devel
end
make_build_targets += \
SHLIB_LIBS=-lncurses
install_cmds
# Remove a bunch of *.c files
rm -rfv %{BUILDROOT}/usr/share/readline
mkdir -pv %{BUILDROOT}/etc/profile.d
cp -vf %{DIR_SOURCE}/readline.sh %{BUILDROOT}/etc/profile.d/
end
end
packages
package %{name}
package %{name}-devel
template DEVEL
end
package %{name}-debuginfo
template DEBUGINFO
end
end