actions.py 418 B

1234567891011121314151617
  1. #!/usr/bin/env 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. import os
  7. from pisi.actionsapi import autotools
  8. def build():
  9. autotools.make('-C lib PREFIX=/usr')
  10. autotools.make('-C programs PREFIX=/usr lz4 lz4c')
  11. def install():
  12. autotools.rawInstall('PREFIX=/usr DESTDIR=%s' % os.environ.pop('INSTALL_DIR'))