ソースを参照

Ports: Add GNU tar port

Liav A 2 年 前
コミット
b6861ee24c
2 ファイル変更14 行追加0 行削除
  1. 1 0
      Ports/AvailablePorts.md
  2. 13 0
      Ports/tar/package.sh

+ 1 - 0
Ports/AvailablePorts.md

@@ -239,6 +239,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
 | [`stpuzzles`](stpuzzles/)                           | Simon Tatham's Portable Puzzle Collection                       |                          | https://www.chiark.greenend.org.uk/~sgtatham/puzzles/                          |
 | [`stress-ng`](stress-ng/)                           | stress-ng                                                       | 0.14.03                  | https://github.com/ColinIanKing/stress-ng                                      |
 | [`Super-Mario`](Super-Mario/)                       | Super-Mario Clone                                               |                          | https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp                        |
+| [`tar`](tar/)                                       | GNU tar                                                         | 1.34                     | https://www.gnu.org/software/tar/                                              |
 | [`tcl`](tcl/)                                       | Tcl                                                             | 8.6.12                   | https://www.tcl-lang.org/                                                      |
 | [`termcap`](termcap/)                               | GNU termcap                                                     | 1.3.1                    | https://www.gnu.org/software/termutils/                                        |
 | [`thesilversearcher`](thesilversearcher/)           | The Silver Searcher: A fast code-searching tool                 | 2.2.0                    | https://github.com/ggreer/the_silver_searcher                                  |

+ 13 - 0
Ports/tar/package.sh

@@ -0,0 +1,13 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port='tar'
+version='1.34'
+useconfigure='true'
+use_fresh_config_sub='true'
+config_sub_paths=('build-aux/config.sub')
+files="https://ftp.gnu.org/gnu/tar/tar-${version}.tar.gz tar-${version}.tar.gz 03d908cf5768cfe6b7ad588c921c6ed21acabfb2b79b788d1330453507647aed"
+auth_type='sha256'
+configopts=(
+    "--without-selinux"
+    "--without-posix-acls"
+    "--without-xattrs"
+)