actions.py 493 B

1234567891011121314151617181920212223
  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, get
  7. j = ''.join([
  8. ' PREFIX=/usr',
  9. ' DISABLE_DESKTOP_NOTIFY=0',
  10. ' DISABLE_SOUND_NOTIFY=1',
  11. ' DISABLE_AV=0',
  12. ' DISABLE_X11=0',
  13. ' DISABLE_GAMES=0 '
  14. ])
  15. def build():
  16. autotools.make(j)
  17. def install():
  18. autotools.rawInstall("DESTDIR=%s PREFIX=/usr" % get.installDIR())