libsignal-protocol-c: change to shared library

This commit is contained in:
Daniel Eyßer 2020-08-10 13:42:29 +02:00 committed by Piraty
parent 12e7151565
commit 9cfdc1fb1e
3 changed files with 14 additions and 2 deletions

View File

@ -3987,3 +3987,4 @@ libaml.so.0 aml-0.1.0_1
libneatvnc.so.0 neatvnc-0.2.0_1
libtdjson.so.1.6.0 libtd-1.6.0_1
libJudy.so.1 judy-1.0.5_1
libsignal-protocol-c.so.2 libsignal-protocol-c-2.3.3_2

View File

@ -0,0 +1 @@
libsignal-protocol-c

View File

@ -1,9 +1,9 @@
# Template file for 'libsignal-protocol-c'
pkgname=libsignal-protocol-c
version=2.3.3
revision=1
revision=2
build_style=cmake
configure_args="-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
configure_args="-DBUILD_SHARED_LIBS=ON"
makedepends="libressl-devel"
checkdepends="pkg-config check-devel"
short_desc="Signal Protocol C Library"
@ -16,3 +16,13 @@ checksum=c22e7690546e24d46210ca92dd808f17c3102e1344cd2f9a370136a96d22319d
if [ "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -DBUILD_TESTING=1"
fi
libsignal-protocol-c-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}