actions.py 569 B

12345678910111213141516171819
  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 pisitools
  7. from pisi.actionsapi import scons
  8. def build():
  9. scons.make("PREFIX=/usr/ LIBDIR=/usr/lib GSSAPI=/usr/bin/krb5-config")
  10. def install():
  11. pisitools.insinto("/usr/include/serf-1/", "serf*.h")
  12. pisitools.insinto("/usr/lib/", "libserf-1*")
  13. pisitools.insinto("/usr/lib/pkgconfig/", "serf-1.pc")
  14. pisitools.dodoc("CHANGES", "LICENSE", "NOTICE", "README")