libmicrohttpd fixes

* Removed "autoreconf". Upstream provides working 'configure'.
* Disabled libcurl in parameter. It is not declared as dependency and used only
for testing.
* Disabled examples build. They are not needed for installed library.
* Enforced HTTPS version build, instead of automatic detection
* Removed unneeded libtool patch
* Fixed license (LGPLv2.1 or later)
* Removed "textinfo" dependency. It is not needed, all info files are pre-built.
* Removed "libgrypt" and "libgpg-error". They was needed for for GnuTLS >2.20
* Removed mention of "microspdy". It was removed several years ago from upstream.
* Removed "demo" file. It is compiled example, which is not designed for any
practical use.
This commit is contained in:
Evgeny Grin
2023-05-31 17:51:00 +03:00
parent 2e50a4a0a1
commit 21f7a93e7a
2 changed files with 11 additions and 14 deletions
+3 -6
View File
@@ -9,14 +9,11 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.autoreconf("-vfi")
autotools.configure("--disable-static \
--enable-shared \
--enable-curl \
--enable-largefile \
--enable-messages")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
--disable-curl \
--disable-examples \
--enable-https")
def build():
autotools.make()