actions.py 572 B

1234567891011121314151617181920212223
  1. # -*- coding: utf-8 -*-
  2. #
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/licenses/gpl.txt
  5. from pisi.actionsapi import get
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. Libdir = "/usr/lib32" if get.buildTYPE() == "emul32" else "/usr/lib"
  9. def setup():
  10. autotools.autoreconf("-vif")
  11. autotools.configure("--disable-static")
  12. def build():
  13. autotools.make()
  14. def install():
  15. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  16. pisitools.dodoc("ChangeLog", "COPYING", "README*")