actions.py 670 B

123456789101112131415161718192021222324252627
  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 autotools
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import get
  8. def setup():
  9. autotools.configure("--enable-nls \
  10. --disable-rpath \
  11. --disable-languages")
  12. def build():
  13. autotools.make()
  14. def check():
  15. autotools.make("check")
  16. def install():
  17. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  18. if get.buildTYPE() == "emul32": return
  19. pisitools.dodoc("AUTHORS", "COPYING*", "ChangeLog", "NEWS", "README", "THANKS")