actions.py 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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 autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. def setup():
  10. autotools.configure("--with-screen=slang \
  11. --with-gpm-mouse \
  12. --with-vfs \
  13. --with-ext2undel \
  14. --with-edit \
  15. --with-x=yes \
  16. --enable-charset \
  17. --enable-nls \
  18. --with-samba \
  19. --with-configdir=/etc/samba \
  20. --with-codepagedir=/var/lib/samba/codepages \
  21. --with-privatedir=/etc/samba/private")
  22. def build():
  23. autotools.make()
  24. def install():
  25. autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
  26. pisitools.dodoc("ABOUT*", "AUTHORS", "ChangeLog", "NEWS", "README*")