Skip to content

Commit

Permalink
Ports: Add Dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoles authored and awesomekling committed Apr 12, 2021
1 parent 8c80eb8 commit 9c3948e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions Ports/AvailablePorts.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`cmatrix`](cmatrix/) | cmatrix | | https://github.com/abishekvashok/cmatrix |
| [`curl`](curl/) | curl | 7.65.3 | https://curl.se/ |
| [`dash`](dash/) | DASH | 0.5.10.2 | http:https://gondor.apana.org.au/~herbert/dash |
| [`dialog`](dialog/) | Dialog | 1.3-20210324 | https://invisible-island.net/dialog/ |
| [`diffutils`](diffutils/) | GNU Diffutils | 3.5 | https://www.gnu.org/software/diffutils/ |
| [`dmidecode`](dmidecode/) | dmidecode | 3.3 | https://github.com/mirror/dmidecode |
| [`doom`](doom/) | DOOM | | https://github.com/SerenityOS/SerenityDOOM |
Expand Down
11 changes: 11 additions & 0 deletions Ports/dialog/package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=dialog
version=1.3-20210324
depends="ncurses"
files="https://invisible-mirror.net/archives/dialog/dialog-${version}.tgz dialog-${version}.tgz
https://invisible-mirror.net/archives/dialog/dialog-${version}.tgz.asc dialog-${version}.tgz.asc"
auth_type="sig"
auth_import_key="C52048C0C0748FEE227D47A2702353E0F7E48EDB"
auth_opts="dialog-${version}.tgz.asc dialog-${version}.tgz"
useconfigure=true
configopts="--prefix=/usr/local --with-ncurses --with-curses-dir=${SERENITY_ROOT}/Build/i686/Root/usr/local/include/ncurses"
10 changes: 10 additions & 0 deletions Ports/dialog/patches/config.sub.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- dialog-1.3-20210324/config.sub 2020-08-16 20:36:41.000000000 -0700
+++ dialog-1.3-20210324/config.sub 2021-04-11 20:15:18.580516177 -0700
@@ -1693,6 +1693,7 @@
# The portable systems comes first.
# Each alternative MUST end in a * to match a version number.
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* \

0 comments on commit 9c3948e

Please sign in to comment.