new package: libolm

This commit is contained in:
Tee KOBAYASHI 2022-03-31 05:39:02 +09:00 committed by xtkoba
parent 3c617f6222
commit 808a2f9557
2 changed files with 18 additions and 0 deletions

7
packages/libolm/build.sh Normal file
View File

@ -0,0 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://matrix.org/docs/projects/other/olm/
TERMUX_PKG_DESCRIPTION="An implementation of the Double Ratchet cryptographic ratchet"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=3.2.10
TERMUX_PKG_SRCURL=https://gitlab.matrix.org/matrix-org/olm/-/archive/${TERMUX_PKG_VERSION}/olm-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=c41ed0a0fe613ed8ca78144855d1f82477a3539329e1dd73f47b6b2e2739e8b5

View File

@ -0,0 +1,11 @@
--- a/olm.pc.in
+++ b/olm.pc.in
@@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
-libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
+libdir=@CMAKE_INSTALL_LIBDIR@
Name: olm
Description: implementation of the Double Ratchet cryptographic ratchet in C++