actions.py 661 B

1234567891011121314151617181920212223242526
  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/licenses/gpl.txt
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import autotools
  8. from pisi.actionsapi import get
  9. WorkDir = "%s" % get.srcNAME()
  10. def build():
  11. #changed for version 4.2.4
  12. autotools.make()
  13. #autotools.make for older version
  14. # autotools.make('-f makefile.unix \
  15. # CXXFLAGS="%s" \
  16. # CXX="%s" \
  17. # STRIP="true"' % (get.CXXFLAGS(), get.CXX()))
  18. def install():
  19. pisitools.dobin("unrar")
  20. pisitools.dodoc("readme.txt","license.txt")