actions.py 607 B

1234567891011121314151617181920212223
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import autotools, pisitools, get
  7. def setup():
  8. pisitools.cflags.add("-Wno-deprecated-declarations")
  9. pisitools.unlink("*.stamp")
  10. autotools.autoreconf("-fv")
  11. autotools.configure("--enable-gtk3 --disable-buildin-polkit --disable-buildin-clipboard")
  12. def build():
  13. autotools.make()
  14. def install():
  15. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  16. pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")