diff --git a/programming/misc/libtommath/actions.py b/programming/misc/libtommath/actions.py
index 73ed856168..e25a557291 100644
--- a/programming/misc/libtommath/actions.py
+++ b/programming/misc/libtommath/actions.py
@@ -8,15 +8,17 @@ from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
-def setup():
- cmaketools.configure("-DCMAKE_INSTALL_PREFIX='/usr' \
- -DBUILD_SHARED_LIBS=On")
+# def setup():
+ # cmaketools.configure("-DCMAKE_INSTALL_PREFIX='/usr' \
+ # -DBUILD_SHARED_LIBS=On")
def build():
- cmaketools.make("-f makefile.shared")
+ autotools.make("-f makefile.shared IGNORE_SPEED=1")
+ # cmaketools.make("-f makefile.shared IGNORE_SPEED=1")
def install():
- cmaketools.rawInstall("-f makefile.shared PREFIX=/usr DESTDIR=%s" % get.installDIR())
+ autotools.rawInstall("-f makefile.shared PREFIX=/usr DESTDIR=%s INSTALL_GROUP=root" % get.installDIR())
+ # cmaketools.rawInstall("-f makefile.shared PREFIX=/usr DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSE", "README.md")
diff --git a/programming/misc/libtommath/pspec.xml b/programming/misc/libtommath/pspec.xml
index f5d6bdd6a2..f245135062 100644
--- a/programming/misc/libtommath/pspec.xml
+++ b/programming/misc/libtommath/pspec.xml
@@ -13,7 +13,7 @@
library
Highly optimized and portable routines for integer based number theoretic applications
LibTomMath is a free open source portable number theoretic multiple-precision integer library written entirely in C.
- https://github.com/libtom/libtommath/releases/download/v1.3.0/ltm-1.3.0.tar.xz
+ https://github.com/libtom/libtommath/releases/download/v1.3.1-rc1/ltm-1.3.1-rc1.tar.xz
@@ -56,6 +56,13 @@
+
+ 2025-02-23
+ 1.3.1
+ Version bump.
+ Pisi Linux Community
+ admin@pisilinux.org
+
2024-04-28
1.3.0
diff --git a/util/crypt/libtomcrypt/actions.py b/util/crypt/libtomcrypt/actions.py
index 49bfd97170..694f075b36 100644
--- a/util/crypt/libtomcrypt/actions.py
+++ b/util/crypt/libtomcrypt/actions.py
@@ -10,14 +10,15 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import libtools
from pisi.actionsapi import get
-def build():
+def setup():
shelltools.export("CXXFLAGS", "%s -fPIC" % get.CXXFLAGS())
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 build():
+ autotools.make("-f makefile.shared IGNORE_SPEED=1 library test EXTRALIBS='-ltommath' CFLAGS='%s -DLTM_DESC -DUSE_LTM' \
+ INCPATH='/usr/include' LIBPATH='/usr/lib' PREFIX='/usr' LDFLAGS='%s' " % (get.CFLAGS(), get.LDFLAGS()))
def install():
autotools.rawInstall("-f makefile.shared DESTDIR=%s PREFIX=/usr INSTALL_GROUP='root'" % get.installDIR())
diff --git a/util/crypt/libtomcrypt/pspec.xml b/util/crypt/libtomcrypt/pspec.xml
index 9ef5094092..d2bba36f91 100644
--- a/util/crypt/libtomcrypt/pspec.xml
+++ b/util/crypt/libtomcrypt/pspec.xml
@@ -41,6 +41,13 @@
+
+ 2025-02-23
+ 1.18.2
+ Rebuild
+ Pisi Linux Community
+ admin@pisilinux.org
+
2024-08-20
1.18.2