actions.py 836 B

12345678910111213141516171819202122232425262728
  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 get
  7. from pisi.actionsapi import autotools
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import shelltools
  10. def setup():
  11. autotools.configure("--disable-dependency-tracking \
  12. --disable-static \
  13. --with-jpeg \
  14. --with-tiff \
  15. --with-zlib \
  16. --libdir=/usr/lib%s \
  17. " % ("32" if get.buildTYPE() == "emul32" else ""))
  18. def build():
  19. autotools.make()
  20. def install():
  21. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  22. pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README.1ST")