mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Ports: Add tree utility port
This commit is contained in:
parent
c58c938659
commit
711f64d366
Notes:
sideshowbarker
2024-07-17 06:35:16 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/711f64d366 Pull-request: https://github.com/SerenityOS/serenity/pull/15647 Reviewed-by: https://github.com/timschumi ✅
4 changed files with 43 additions and 0 deletions
|
@ -250,6 +250,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
|||
| [`tinycc`](tinycc/) | Tiny C Compiler (TinyCC) | dev | https://github.com/TinyCC/tinycc |
|
||||
| [`tinyscheme`](tinyscheme/) | TinyScheme Interpreter | 1.42 | https://sourceforge.net/projects/tinyscheme/ |
|
||||
| [`tr`](tr/) | tr (OpenBSD) | 6.7 | https://github.com/ibara/libpuffy |
|
||||
| [`tree`](tree/) | tree | 2.0.4 | https://github.com/Old-Man-Programmer/tree |
|
||||
| [`tuxracer`](tuxracer/) | Tux Racer | 0.61 | http://tuxracer.sourceforge.net/ |
|
||||
| [`vim`](vim/) | Vim | 8.2.4554 | https://www.vim.org/ |
|
||||
| [`vitetris`](vitetris/) | vitetris | 0.59.1 | https://github.com/vicgeralds/vitetris |
|
||||
|
|
13
Ports/tree/package.sh
Executable file
13
Ports/tree/package.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='tree'
|
||||
version='2.0.4'
|
||||
files="https://github.com/Old-Man-Programmer/tree/archive/refs/tags/${version}.tar.gz tree-${version}.tar.gz 3ebeaf77a3b3829bcf665329e9d0f3624079c2c4cb4ef14cf6d7129a1a208b59"
|
||||
auth_type='sha256'
|
||||
|
||||
build() {
|
||||
run make CC="${CC}" all
|
||||
}
|
||||
|
||||
install() {
|
||||
run make install PREFIX="${SERENITY_INSTALL_ROOT}/usr/local"
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Liav A <liavalb@gmail.com>
|
||||
Date: Sun, 16 Oct 2022 20:27:51 +0300
|
||||
Subject: [PATCH] Allow to override the default C compiler
|
||||
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 4ca97b8a130800f56111578dc1be1f140524985e..160ab6a42c2db3d2baa2c077813b027927b81ba5 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
PREFIX=/usr/local
|
||||
|
||||
-CC=gcc
|
||||
+CC=
|
||||
INSTALL=install
|
||||
|
||||
VERSION=2.0.4
|
7
Ports/tree/patches/ReadMe.md
Normal file
7
Ports/tree/patches/ReadMe.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Patches for tree on SerenityOS
|
||||
|
||||
## `0001-Allow-to-override-the-default-C-compiler.patch`
|
||||
|
||||
Allow to override the default C compiler
|
||||
|
||||
|
Loading…
Reference in a new issue