actions.py 671 B

1234567891011121314151617181920212223
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/copyleft/gpl.txt
  5. from pisi.actionsapi import autotools
  6. from pisi.actionsapi import shelltools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. WorkDir="libwlocate-code-213bcf6fb073d968af5e849a5c1828603f69e5ac/master"
  10. def build():
  11. autotools.make("-f Makelib")
  12. autotools.make()
  13. def install():
  14. pisitools.insinto("/usr/lib", "libwlocate.so")
  15. pisitools.insinto("/usr/include", "libwlocate.h")
  16. pisitools.insinto("/usr/bin", "lwtrace")
  17. pisitools.dodoc("COPYING", "README", "CREDITS")