actions.py 605 B

12345678910111213141516171819202122232425
  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.autoreconf("-vfi")
  10. autotools.configure("--prefix=/usr")
  11. def build():
  12. #autotools.make('LDFLAGS="%s"' % get.LDFLAGS())
  13. autotools.make()
  14. def check():
  15. autotools.make("check")
  16. def install():
  17. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  18. pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")