actions.py 534 B

12345678910111213141516171819202122
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/gpl.txt
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. WorkDir = "mingetty-1.08"
  10. def build():
  11. autotools.make('RPM_OPT_FLAGS="%s"' % get.CFLAGS())
  12. def install():
  13. pisitools.dosbin("mingetty", "/sbin")
  14. pisitools.doman("mingetty.8")
  15. pisitools.domo("tr.po", "tr", "mingetty.mo")
  16. pisitools.dodoc("COPYING")