actions.py 570 B

12345678910111213141516171819
  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 pisi.actionsapi import pisitools
  6. from pisi.actionsapi import get
  7. WorkDir = "%s-%s.%s" % (get.srcNAME(), get.srcVERSION(), get.ARCH())
  8. def install():
  9. if get.buildTYPE() == "emul32":
  10. pisitools.insinto("/usr/lib32", "../%s-%s.i686/usr/lib/*" % (get.srcNAME(), get.srcVERSION()))
  11. return
  12. else:
  13. pisitools.insinto("/usr/lib", "usr/lib/*")
  14. pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README")