actions.py 742 B

1234567891011121314151617181920212223242526
  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. autotools.autoreconf("-vif")
  10. autotools.configure("--disable-static")
  11. def build():
  12. autotools.make()
  13. def install():
  14. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  15. #FIXME:Remove files which conflict with xorg-proto
  16. #pisitools.remove("/usr/include/X11/extensions/xf86mscstr.h")
  17. #pisitools.remove("/usr/include/X11/extensions/xf86misc.h")
  18. #pisitools.remove("/usr/lib/pkgconfig/xf86miscproto.pc")
  19. pisitools.dodoc("ChangeLog", "COPYING")