base rebuild
This commit is contained in:
@@ -7,10 +7,15 @@ from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
LIBDIR = "/usr/lib32" if get.buildTYPE() == "emul32" else "/usr/lib"
|
||||
bindir = "/usr/bin32" if get.buildTYPE() == "emul32" else "/usr/bin"
|
||||
|
||||
def setup():
|
||||
autotools.configure("--enable-nls \
|
||||
--libdir=%s \
|
||||
--bindir=%s \
|
||||
--disable-rpath \
|
||||
--disable-languages")
|
||||
--disable-languages"% (LIBDIR, bindir))
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
@@ -21,6 +26,8 @@ def check():
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
if get.buildTYPE() == "emul32": return
|
||||
if get.buildTYPE() == "emul32":
|
||||
pisitools.removeDir("/usr/bin32")
|
||||
return
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING*", "ChangeLog", "NEWS", "README", "THANKS")
|
||||
|
||||
Reference in New Issue
Block a user