actions.py 690 B

123456789101112131415161718192021222324
  1. # -*- coding: utf-8 -*-
  2. #
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/licenses/gpl.txt
  5. from inary.actionsapi import autotools
  6. from inary.actionsapi import inarytools
  7. from inary.actionsapi import shelltools
  8. from inary.actionsapi import get
  9. def setup():
  10. shelltools.system("./configure --prefix=/usr --sysconfdir=/etc")
  11. def build():
  12. autotools.make()
  13. def install():
  14. autotools.rawInstall("PREFIX=/usr DESTDIR=%s" % get.installDIR())
  15. autotools.make("PREFIX=/usr DESTDIR=%s -C librhash install-lib-headers install-so-link" % get.installDIR())
  16. inarytools.dodoc("ChangeLog", "INSTALL*", "README*", "COPYING*")