actions.py 837 B

1234567891011121314151617181920212223242526272829
  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 get
  7. from pisi.actionsapi import pisitools
  8. # if pisi can't find source directory, see /var/pisi/libaacs/work/ and:
  9. # WorkDir="libaacs-"+ get.srcVERSION() +"/sub_project_dir/"
  10. def setup():
  11. autotools.autoreconf("-fiv")
  12. autotools.configure("--disable-static")
  13. def build():
  14. autotools.make()
  15. def install():
  16. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  17. # Take a look at the source folder for these file as documentation.
  18. pisitools.dodoc("COPYING", "README.md")
  19. # If there is no install rule for a runnable binary, you can
  20. # install it to binary directory.
  21. # pisitools.dobin("libaacs")