libsignal-protocol-c: change to shared library
This commit is contained in:
parent
12e7151565
commit
9cfdc1fb1e
|
@ -3987,3 +3987,4 @@ libaml.so.0 aml-0.1.0_1
|
||||||
libneatvnc.so.0 neatvnc-0.2.0_1
|
libneatvnc.so.0 neatvnc-0.2.0_1
|
||||||
libtdjson.so.1.6.0 libtd-1.6.0_1
|
libtdjson.so.1.6.0 libtd-1.6.0_1
|
||||||
libJudy.so.1 judy-1.0.5_1
|
libJudy.so.1 judy-1.0.5_1
|
||||||
|
libsignal-protocol-c.so.2 libsignal-protocol-c-2.3.3_2
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
libsignal-protocol-c
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'libsignal-protocol-c'
|
# Template file for 'libsignal-protocol-c'
|
||||||
pkgname=libsignal-protocol-c
|
pkgname=libsignal-protocol-c
|
||||||
version=2.3.3
|
version=2.3.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
|
configure_args="-DBUILD_SHARED_LIBS=ON"
|
||||||
makedepends="libressl-devel"
|
makedepends="libressl-devel"
|
||||||
checkdepends="pkg-config check-devel"
|
checkdepends="pkg-config check-devel"
|
||||||
short_desc="Signal Protocol C Library"
|
short_desc="Signal Protocol C Library"
|
||||||
|
@ -16,3 +16,13 @@ checksum=c22e7690546e24d46210ca92dd808f17c3102e1344cd2f9a370136a96d22319d
|
||||||
if [ "${XBPS_CHECK_PKGS}" ]; then
|
if [ "${XBPS_CHECK_PKGS}" ]; then
|
||||||
configure_args+=" -DBUILD_TESTING=1"
|
configure_args+=" -DBUILD_TESTING=1"
|
||||||
fi
|
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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue