1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:17:44 +00:00

Ports: Add readline

This commit is contained in:
Linus Groh 2021-04-25 17:29:28 +02:00
parent 62af6cd4f9
commit 15cccdba7b
3 changed files with 22 additions and 0 deletions

10
Ports/readline/package.sh Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=readline
version=8.1
useconfigure=true
files="https://ftpmirror.gnu.org/gnu/readline/readline-${version}.tar.gz readline-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/readline/readline-${version}.tar.gz.sig readline-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts="--keyring ./gnu-keyring.gpg readline-${version}.tar.gz.sig"

View file

@ -0,0 +1,11 @@
--- readline-8.1/support/config.sub 2021-04-25 15:47:03.098432900 +0200
+++ readline-8.1/support/config.sub 2021-04-25 15:49:34.874324300 +0200
@@ -1690,7 +1690,7 @@
# Now accept the basic system types.
# The portable systems comes first.
# Each alternative MUST end in a * to match a version number.
- gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
+ gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* | serenity* \
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \