Merge pull request #288 from ertugerata/master

sync with lfs build
This commit is contained in:
Ertuğrul Erata
2016-03-07 16:21:28 +02:00
+11 -6
View File
@@ -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*")