12345678910111213141516171819202122232425262728293031 |
- #!/usr/bin/python
- # -*- coding: utf-8 -*-
- # Licensed under the GNU General Public License, version 3.
- # See the file http://www.gnu.org/copyleft/gpl.txt
- from pisi.actionsapi import get
- from pisi.actionsapi import autotools
- from pisi.actionsapi import pisitools
- from pisi.actionsapi import shelltools
- def setup():
- pisitools.flags.add(" -lspeechd")
- autotools.configure(" \
- --with-tables-directory=/usr/share/brltty \
- --with-screen-driver=lx \
- --enable-gpm \
- --with-install-root='%s' \
- --with-writable-directory='/run/brltty' \
- --disable-java-bindings" % get.installDIR())
- def build():
- autotools.make()
- def install():
- autotools.rawInstall("DESTDIR=%s" % get.installDIR())
- pisitools.removeDir("/run")
- pisitools.removeDir("/var")
- pisitools.dodoc("LICENSE*", "README")
-
|