@@ -8,19 +8,24 @@ from pisi.actionsapi import autotools
|
|||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import shelltools
|
||||||
|
|
||||||
WorkDir = "mozjs%s/js/src" % get.srcVERSION()
|
#WorkDir = "mozjs%s/js/src" % get.srcVERSION()
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
autotools.configure("--enable-jemalloc \
|
shelltools.cd("js/src")
|
||||||
--enable-readline \
|
shelltools.system("sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl ")
|
||||||
|
|
||||||
|
autotools.configure("--prefix=/usr \
|
||||||
|
--enable-readline \
|
||||||
--enable-threadsafe \
|
--enable-threadsafe \
|
||||||
--with-system-nspr \
|
--with-system-ffi \
|
||||||
--enable-system-ffi ")
|
--with-system-nspr")
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
|
shelltools.cd("js/src")
|
||||||
autotools.make()
|
autotools.make()
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
|
shelltools.cd("js/src")
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
pisitools.dodoc("README*")
|
pisitools.dodoc("README*")
|
||||||
Reference in New Issue
Block a user