mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 18:57:36 +00:00
Ports: Vim and ncurses
This commit is contained in:
parent
faafaf9b43
commit
674be46afd
4 changed files with 67 additions and 0 deletions
13
Ports/ncurses/allow-serenity-os-ncurses.patch
Normal file
13
Ports/ncurses/allow-serenity-os-ncurses.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/config.sub b/config.sub
|
||||
index a44fd8ae..eb9be19b 100755
|
||||
--- a/config.sub
|
||||
+++ b/config.sub
|
||||
@@ -1367,7 +1367,7 @@ case $os in
|
||||
| powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \
|
||||
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
|
||||
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
||||
- | midnightbsd* | amdhsa* | unleashed* | emscripten*)
|
||||
+ | midnightbsd* | amdhsa* | unleashed* | emscripten* | *serenity* )
|
||||
# Remember, each alternative MUST END IN *, to match a version number.
|
||||
;;
|
||||
qnx*)
|
18
Ports/ncurses/ncurses.sh
Executable file
18
Ports/ncurses/ncurses.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
PORT_DIR=ncurses
|
||||
INSTALLOPTS="DESTDIR=$SERENITY_ROOT/Root/"
|
||||
|
||||
function fetch() {
|
||||
run_fetch_git "https://github.com/mirror/ncurses.git"
|
||||
run_patch allow-serenity-os-ncurses.patch -p1
|
||||
}
|
||||
function configure() {
|
||||
run_configure_autotools
|
||||
}
|
||||
function build() {
|
||||
run_make
|
||||
}
|
||||
function install() {
|
||||
run_make_install
|
||||
}
|
||||
source ../.port_include.sh
|
Loading…
Add table
Add a link
Reference in a new issue