libtomcrypt ver. bump
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<IsA>library</IsA>
|
||||
<Summary>Highly optimized and portable routines for integer based number theoretic applications</Summary>
|
||||
<Description>LibTomMath is a free open source portable number theoretic multiple-precision integer library written entirely in C.</Description>
|
||||
<Archive sha1sum="d8edd632f37449e5954f4291db59239dc0ecf5df" type="tarxz">https://github.com/libtom/libtommath/releases/download/v1.3.0/ltm-1.3.0.tar.xz</Archive>
|
||||
<Archive sha1sum="7d89d783504f32bbafc04e9b79ad2765917068fc" type="tarxz">https://github.com/libtom/libtommath/releases/download/v1.3.1-rc1/ltm-1.3.1-rc1.tar.xz</Archive>
|
||||
<Patches>
|
||||
<!-- <Patch></Patch> -->
|
||||
</Patches>
|
||||
@@ -56,6 +56,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2025-02-23</Date>
|
||||
<Version>1.3.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2024-04-28</Date>
|
||||
<Version>1.3.0</Version>
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -41,6 +41,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2025-02-23</Date>
|
||||
<Version>1.18.2</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2024-08-20</Date>
|
||||
<Version>1.18.2</Version>
|
||||
|
||||
Reference in New Issue
Block a user