actions.py 575 B

1234567891011121314151617181920
  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 get
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import cmaketools
  8. def setup():
  9. pisitools.cflags.add("-Wno-implicit-function-declaration -Wno-misleading-indentation -Wno-unused-but-set-variable")
  10. cmaketools.make("config shared=1 prefix=/usr")
  11. def build():
  12. cmaketools.make()
  13. def install():
  14. cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
  15. pisitools.dodoc("LICENSE*")