summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ports/AvailablePorts.md1
-rwxr-xr-xPorts/optipng/package.sh11
2 files changed, 12 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index f7dbfdafa6..d25ff22de4 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -170,6 +170,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`opentyrian`](opentyrian/) | OpenTyrian | 84b820f | https://github.com/opentyrian/opentyrian |
| [`opentyrian-data`](opentyrian-data/) | OpenTyrian graphics and audio | 1.0.0 | https://camanis.net/tyrian/tyrian21.zip |
| [`opfor`](opfor/) | Half-Life: Opposing Force | 2022.05.01 | https://github.com/FWGS/hlsdk-xash3d |
+| [`optipng`](optipng/) | OptiPNG | 0.7.7 | http://optipng.sourceforge.net/ |
| [`p7zip`](p7zip/) | p7zip | 17.04 | https://github.com/jinfeihan57/p7zip |
| [`patch`](patch/) | patch (GNU) | 2.7.6 | https://savannah.gnu.org/projects/patch/ |
| [`pcre`](pcre/) | Perl-compatible Regular Expressions (PCRE) | 8.45 | https://www.pcre.org/ |
diff --git a/Ports/optipng/package.sh b/Ports/optipng/package.sh
new file mode 100755
index 0000000000..3aad5767d2
--- /dev/null
+++ b/Ports/optipng/package.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+
+port='optipng'
+version='0.7.7'
+files="http://downloads.sourceforge.net/optipng/optipng-${version}.tar.gz optipng-${version}.tar.gz 4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452"
+auth_type='sha256'
+useconfigure='true'
+
+configure() {
+ run ./configure
+}