megatools: remove -devel subpackage, fix libressl
This commit is contained in:
parent
9918b04a7c
commit
b456e58139
3 changed files with 11 additions and 14 deletions
|
@ -1 +0,0 @@
|
|||
megatools/
|
11
srcpkgs/megatools/patches/fix-libressl.patch
Normal file
11
srcpkgs/megatools/patches/fix-libressl.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- lib/mega.c.orig 2017-09-27 13:56:24.880875673 +0200
|
||||
+++ lib/mega.c 2017-09-27 13:56:28.285869611 +0200
|
||||
@@ -803,7 +803,7 @@ static gboolean rsa_key_gen(rsa_key* k)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
|
||||
RSA_get0_key(key, &k->m, &k->e, &k->d);
|
||||
RSA_get0_factors(key, &k->q, &k->p);
|
||||
RSA_get0_crt_params(key, NULL, NULL, &k->u);
|
|
@ -11,16 +11,3 @@ license="GPL-2"
|
|||
homepage="https://megatools.megous.com/"
|
||||
distfiles="${homepage}/builds/megatools-${version}.tar.gz"
|
||||
checksum=9b0521a4d27dbc417fc8e12610ac1e1da729bf6d6eb5bef927ef3670b372a16f
|
||||
broken=https://build.voidlinux.eu/builders/x86_64_builder/builds/5012/steps/shell_3/logs/stdio
|
||||
|
||||
megatools-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/share/gir-1.0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue