12345678910111213141516171819202122 |
- #!/usr/bin/python
- # -*- coding: utf-8 -*-
- #
- # Licensed under the GNU General Public License, version 3.
- # See the file http://www.gnu.org/licenses/gpl.txt
- from pisi.actionsapi import shelltools
- from pisi.actionsapi import autotools
- from pisi.actionsapi import pisitools
- from pisi.actionsapi import get
- def build():
- shelltools.export("CFLAGS", "%s -fno-strict-aliasing" % get.CFLAGS())
- if get.ARCH() == "x86_64":
- autotools.make("BITS=64")
- else:
- autotools.make("BITS=32")
- def install():
- autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
- pisitools.dodoc("changes.txt")
|