瀏覽代碼

Ports: Add lzo library port

Liav A 2 年之前
父節點
當前提交
d7eb6d8330
共有 2 個文件被更改,包括 9 次插入0 次删除
  1. 1 0
      Ports/AvailablePorts.md
  2. 8 0
      Ports/lzo/package.sh

+ 1 - 0
Ports/AvailablePorts.md

@@ -147,6 +147,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
 | [`luarocks`](luarocks/)                             | LuaRocks                                                        | 3.8.0                    | https://luarocks.org/                                                          |
 | [`lure`](lure/)                                     | Lure of the Temptress                                           | 1.1                      | https://www.scummvm.org/games/#games-lure                                      |
 | [`lz4`](lz4/)                                       | lz4 - Extremely Fast Compression algorithm                      | 1.9.4                    | https://github.com/lz4/lz4                                                     |
+| [`lzo`](lzo/)                                       | LZO lossless data compression algorithm                         | 2.10                     | https://www.oberhumer.com/opensource/lzo/                                      |
 | [`m4`](m4/)                                         | GNU M4                                                          | 1.4.19                   | https://www.gnu.org/software/m4/                                               |
 | [`make`](make/)                                     | GNU make                                                        | 4.3                      | https://www.gnu.org/software/make/                                             |
 | [`mandoc`](mandoc/)                                 | mandoc                                                          | 1.14.5                   | https://mandoc.bsd.lv/                                                         |

+ 8 - 0
Ports/lzo/package.sh

@@ -0,0 +1,8 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port='lzo'
+version='2.10'
+useconfigure='true'
+use_fresh_config_sub='true'
+config_sub_paths=('autoconf/config.sub')
+files="https://www.oberhumer.com/opensource/lzo/download/lzo-${version}.tar.gz lzo-${version}.tar.gz c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072"
+auth_type='sha256'