diff --git a/util/crypt/libtomcrypt/actions.py b/util/crypt/libtomcrypt/actions.py index 9cc264b9a4..abddb24454 100644 --- a/util/crypt/libtomcrypt/actions.py +++ b/util/crypt/libtomcrypt/actions.py @@ -12,10 +12,14 @@ from pisi.actionsapi import get def build(): shelltools.export("CXXFLAGS", "%s -fPIC" % get.CXXFLAGS()) - shelltools.export("CFLAGS", "%s -fPIC" % get.CFLAGS()) - autotools.make() + shelltools.export("CFLAGS", "%s -DLTM_DESC -DUSE_LTM -fPIC" % get.CFLAGS()) + shelltools.system('export EXTRALIBS="-ltommath"') + autotools.make("-f makefile.shared IGNORE_SPEED=1 library test") + +def check(): + autotools.make("test") def install(): - autotools.rawInstall("PREFIX=/usr DESTDIR=%s" % get.installDIR()) + autotools.rawInstall("-f makefile.shared DESTDIR=%s PREFIX=/usr INSTALL_GROUP='root'" % get.installDIR()) pisitools.dodoc("LICENSE", "README.md") diff --git a/util/crypt/libtomcrypt/pspec.xml b/util/crypt/libtomcrypt/pspec.xml index 3e2e08c984..9ef5094092 100644 --- a/util/crypt/libtomcrypt/pspec.xml +++ b/util/crypt/libtomcrypt/pspec.xml @@ -41,6 +41,13 @@ + + 2024-08-20 + 1.18.2 + Rebuild + Pisi Linux Community + admin@pisilinux.org + 2024-06-02 1.18.2