actions.py 490 B

1234567891011121314151617181920
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import cmaketools, pisitools, get
  7. def setup():
  8. cmaketools.configure("-DCMAKE_INSTALL_LIBDIR=lib -L \
  9. -DBUILD_SHARED_LIBS=ON")
  10. def build():
  11. cmaketools.make()
  12. def install():
  13. cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
  14. # pisitools.dodoc("ChangeLog.rst")