actions.py 699 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 shelltools
  7. from pisi.actionsapi import autotools
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import get
  10. def setup():
  11. shelltools.export("UPX_LZMA_VERSION", "0x465")
  12. shelltools.export("UPX_LZMADIR", get.workDIR())
  13. def build():
  14. autotools.make("CHECK_WHITESPACE=/bin/true all")
  15. def install():
  16. pisitools.insinto("/usr/bin", "src/upx.out", "upx")
  17. pisitools.insinto("/usr/share/man/man1", "doc/upx.1")
  18. pisitools.dodoc("BUGS", "COPYING", "LICENSE", "NEWS", "PROJECTS", "README*")