Initial commit
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--disable-static",
|
||||
"--with-curses",
|
||||
]
|
||||
make_vars = [ "SHLIB_LIBS=-lncursesw" ]
|
||||
keep = [ "etc/inputrc" ]
|
||||
build_32 = true
|
||||
configure-lib32 = [
|
||||
"--disable-static",
|
||||
"--with-curses",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
runtime = [
|
||||
"ncurses",
|
||||
"glibc",
|
||||
]
|
||||
|
||||
[dependencies.lib32]
|
||||
runtime = [
|
||||
"lib32-ncurses",
|
||||
"lib32-glibc",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "set of libraries that offer command-line editing and history capabilities"
|
||||
homepage = "https://www.gnu.org/software/readline/"
|
||||
license = "GPL-3.0-or-Later"
|
||||
name = "readline"
|
||||
version = "8.3"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "fe5383204467828cd495ee8d1d3c037a7eba1389c22bc6a041f627976f9061cc"
|
||||
url = "https://mirrors.kernel.org/gnu/readline/readline-8.3.tar.gz"
|
||||
post_extract = [
|
||||
"sed -i '/MV.*old/d' Makefile.in",
|
||||
"sed -i '/{OLDSUFF}/c:' support/shlib-install",
|
||||
"sed -i 's/-Wl,-rpath,[^ ]*//' support/shobj-conf",
|
||||
"sed -e '270a\\ else\\n chars_avail = 1;' -e '288i\\ result = -1;' -i.orig input.c"
|
||||
]
|
||||
post_install = [ "install -Dm644 inputrc $DESTDIR/etc/inputrc" ]
|
||||
|
||||
[[manual_sources]]
|
||||
file = "inputrc"
|
||||
sha256 = "skip"
|
||||
Reference in New Issue
Block a user