瀏覽代碼

Ports: Add a port of `genext2fs`

Tim Schumacher 3 年之前
父節點
當前提交
0d2613ebeb
共有 2 個文件被更改,包括 11 次插入0 次删除
  1. 1 0
      Ports/AvailablePorts.md
  2. 10 0
      Ports/genext2fs/package.sh

+ 1 - 0
Ports/AvailablePorts.md

@@ -66,6 +66,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
 | [`gcc`](gcc/)                                       | GNU Compiler Collection                                         | 12.1.0                   | https://gcc.gnu.org/                                                           |
 | [`gdb`](gdb/)                                       | GNU Project Debugger                                            | 11.2                     | https://sourceware.org/gdb                                                     |
 | [`genemu`](genemu/)                                 | Genesis / MegaDrive Emulator                                    | e39f690                  | https://github.com/rasky/genemu                                                |
+| [`genext2fs`](genext2fs/)                           | genext2fs                                                       | 1.5.0                    | https://github.com/bestouff/genext2fs                                          |
 | [`gettext`](gettext/)                               | GNU gettext                                                     | 0.21                     | https://www.gnu.org/software/gettext/                                          |
 | [`git`](git/)                                       | Git                                                             | 2.36.1                   | https://git-scm.com/                                                           |
 | [`glib`](glib/)                                     | GLib                                                            | 2.73.0                   | https://wiki.gnome.org/Projects/GLib                                           |

+ 10 - 0
Ports/genext2fs/package.sh

@@ -0,0 +1,10 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port='genext2fs'
+version='1.5.0'
+files="https://github.com/bestouff/genext2fs/archive/v${version}.tar.gz genext2fs-${version}.tar.xz d3861e4fe89131bd21fbd25cf0b683b727b5c030c4c336fadcd738ada830aab0"
+auth_type='sha256'
+useconfigure='true'
+
+pre_patch() {
+    run ./autogen.sh
+}