actions.py 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/copyleft/gpl.txt
  5. from pisi.actionsapi import autotools
  6. from pisi.actionsapi import get
  7. from pisi.actionsapi import pisitools
  8. def setup():
  9. autotools.configure("--prefix=/usr \
  10. --sysconfdir=/etc \
  11. --enable-warnings \
  12. --enable-8bit-toupper \
  13. --enable-externs \
  14. --enable-cgi-links \
  15. --enable-persistent-cookies \
  16. --enable-prettysrc \
  17. --enable-source-cache \
  18. --enable-charset-choice \
  19. --enable-default-colors \
  20. --enable-nested-tables \
  21. --enable-read-eta \
  22. --with-zlib \
  23. --enable-nls \
  24. --enable-ipv6 \
  25. --mandir=/usr/share/man")
  26. def build():
  27. autotools.make()
  28. def install():
  29. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  30. pisitools.dodoc("AUTHORS*", "AUTHORS", "CHANGES", "COPYING", "INSTALLATION","README")
  31. pisitools.dobin("lynx")