actions.py 874 B

12345678910111213141516171819202122232425262728293031
  1. # -*- coding: utf-8 -*-
  2. #
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/licenses/gpl.txt
  5. from pisi.actionsapi import autotools
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import get
  8. def setup():
  9. pisitools.flags.add("-DNDEBUG")
  10. autotools.autoreconf("-vfi")
  11. autotools.configure("--disable-static \
  12. --enable-xevie \
  13. --enable-xprint \
  14. --enable-xinput \
  15. --enable-xkb \
  16. --without-launchd \
  17. --without-doxygen")
  18. pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
  19. def build():
  20. autotools.make("-j1")
  21. def install():
  22. autotools.rawInstall("-j1 DESTDIR=%s" % get.installDIR())
  23. pisitools.dodoc("COPYING", "NEWS", "README")