actions.py 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #!/usr/bin/python
  2. #!/usr/bin/python
  3. # -*- coding: utf-8 -*-
  4. #
  5. # Licensed under the GNU General Public License, version 3.
  6. # See the file http://www.gnu.org/licenses/gpl.txt
  7. from pisi.actionsapi import get
  8. from pisi.actionsapi import autotools
  9. from pisi.actionsapi import pisitools
  10. def setup():
  11. #autotools.autoreconf("-vif")
  12. autotools.configure("--prefix=/usr \
  13. --libexecdir=/usr/lib \
  14. --with-systemdsystemunitdir=no \
  15. --localstatedir=/var \
  16. --sysconfdir=/etc \
  17. --with-pam \
  18. --with-socket-dir=/var/run/inetutils \
  19. --with-xinetd=/etc/xinetd.d \
  20. --enable-ftp \
  21. --enable-ftpd \
  22. --enable-telnet \
  23. --enable-telnetd \
  24. --enable-talk \
  25. --enable-talkd \
  26. --disable-rcp \
  27. --disable-servers \
  28. --disable-rlogin \
  29. --disable-rsh \
  30. --disable-rexec \
  31. --disable-rexecd \
  32. --disable-tftp \
  33. --disable-tftpd \
  34. --disable-ping \
  35. --disable-ping6 \
  36. --disable-logger \
  37. --disable-syslogd \
  38. --disable-inetd \
  39. --disable-whois \
  40. --disable-uucpd \
  41. --disable-ifconfig \
  42. --disable-traceroute")
  43. def build():
  44. autotools.make()
  45. #def check():
  46. #autotools.make("check")
  47. def install():
  48. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  49. pisitools.dodoc("COPYING", "README")