libtomcrypt ver. bump
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user