actions.py 617 B

123456789101112131415161718192021222324252627282930
  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 autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. j = ''.join([
  10. ' --enable-outputs',
  11. ' --disable-clock',
  12. ' --disable-static',
  13. ' --with-taglib '
  14. ])
  15. def setup():
  16. autotools.autoreconf("-vif")
  17. autotools.configure(j)
  18. def build():
  19. autotools.make()
  20. def install():
  21. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  22. pisitools.dodoc("AUTHORS", "CHANGELOG.md", "README.md")