Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4.  
  5. # Licensed under the GNU General Public License, version 3.
  6. # See the file http://www.gnu.org/licenses/gpl.txt
  7.  
  8. from pisi.actionsapi import autotools
  9. from pisi.actionsapi import pisitools
  10. from pisi.actionsapi import shelltools
  11. from pisi.actionsapi import get
  12.  
  13. def setup():
  14. autotools.configure(" --enable-locking \
  15. --with-xf86gamma-ext \
  16. --with-kbd-layout-indicator \
  17. --with-systemd=no \
  18. --prefix=/usr \
  19. --enable-compile-warnings=yes \
  20. --enable-maintainer-mode \
  21. --enable-docbook-docs \
  22. --sysconfdir=/etc \
  23. --with-shadow \
  24. --with-xscreensaverdir=/usr/share/xscreensaver/config \
  25. --with-xscreensaverhackdir=/usr/lib/misc/xscreensaver")
  26.  
  27.  
  28. # for fix unused dependency
  29. pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
  30.  
  31. def build():
  32. pisitools.ldflags.add("-lmate-menu")
  33. autotools.make()
  34.  
  35. def install():
  36. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  37.  
  38. pisitools.dodoc("README", "NEWS", "ChangeLog", "AUTHORS", "COPYING")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement