actions.py 576 B

1234567891011121314151617181920212223
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 2.
  5. # See the file http://www.gnu.org/copyleft/gpl.txt.
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import shelltools
  9. from pisi.actionsapi import get
  10. #
  11. #def setup():
  12. # pisitools.dosed("Makefile", "gcc", "%s" % get.CC())
  13. def build():
  14. autotools.make()
  15. #autotools.make("CFLAGS=\"%s\"" % get.CFLAGS())
  16. def install():
  17. pisitools.dobin("pdfcrack")
  18. pisitools.dodoc("COPYING", "README*", "TODO", "changelog")