actions.py 541 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Copyright 2010 TUBITAK/UEKAE
  5. # Licensed under the GNU General Public License, version 2.
  6. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
  7. from inary.actionsapi import perlmodules
  8. from inary.actionsapi import inarytools
  9. from inary.actionsapi import get
  10. WorkDir = "%s-%s" % (get.srcNAME()[5:], get.srcVERSION())
  11. def setup():
  12. perlmodules.configure()
  13. def build():
  14. perlmodules.make()
  15. def check():
  16. perlmodules.make("test")
  17. def install():
  18. perlmodules.install()