actions.py 685 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/gpl.txt
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. def setup():
  10. pisitools.cflags.add("-fPIC")
  11. #autotools.autoreconf("-fiv")
  12. autotools.configure("--enable-openssl \
  13. --enable-nss")
  14. def build():
  15. autotools.make("all")
  16. autotools.make("shared_library")
  17. def check():
  18. autotools.make("test")
  19. def install():
  20. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  21. pisitools.dodoc("LICENSE", "CHANGES", "README*")