mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Ports: Add port for libsodium
This commit is contained in:
parent
5093b76f85
commit
2f3ded4dfd
Notes:
sideshowbarker
2024-07-18 18:30:21 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/2f3ded4dfd5 Pull-request: https://github.com/SerenityOS/serenity/pull/6957
2 changed files with 14 additions and 0 deletions
|
@ -59,6 +59,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
|||
| [`libphysfs`](libphysfs/) | PhysicsFS | 3.0.2 | https://icculus.org/physfs/ |
|
||||
| [`libpng`](libpng/) | libpng | 1.6.37 | https://libpng.org/ |
|
||||
| [`libpuffy`](libpuffy/) | libpuffy | 1.0 | https://github.com/ibara/libpuffy |
|
||||
| [`libsodium`](libsodium/) | libsodium | 1.0.18-stable | https://doc.libsodium.org/ |
|
||||
| [`libtheora`](libtheora/) | libtheora | 1.1.1 | https://www.theora.org/ |
|
||||
| [`libtiff`](libtiff/) | libtiff | 4.2.0 | http://www.libtiff.org/ |
|
||||
| [`libtool`](libtool/) | libtool | 2.4 | https://www.gnu.org/software/libtool/ |
|
||||
|
|
13
Ports/libsodium/package.sh
Executable file
13
Ports/libsodium/package.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=libsodium
|
||||
version=1.0.18-stable
|
||||
useconfigure=true
|
||||
workdir=libsodium-stable
|
||||
files="https://download.libsodium.org/libsodium/releases/libsodium-${version}.tar.gz libsodium-${version}.tar.gz 3c240fcd414189492d7c7dc12d2cf48f67bf04142ce2f60b620adb5bac6ca732"
|
||||
auth_type=sha256
|
||||
|
||||
install() {
|
||||
run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
|
||||
${CC} -shared -pthread -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libsodium.so -Wl,-soname,libsodium.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libsodium.a -Wl,--no-whole-archive
|
||||
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libsodium.la
|
||||
}
|
Loading…
Reference in a new issue