actions.py 499 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 http://www.gnu.org/copyleft/gpl.txt.
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. def setup():
  9. pisitools.cflags.add("-fcommon")
  10. autotools.configure()
  11. def build():
  12. autotools.make()
  13. def install():
  14. pisitools.dosbin("iftop")
  15. pisitools.doman("iftop.8")
  16. pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README*", "COPYING")