123456789101112131415161718192021222324252627282930313233 |
- #!/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 pisitools
- from pisi.actionsapi import autotools
- def setup():
- #autotools.autoreconf("-vfi")
- autotools.configure("--prefix=/usr \
- --enable-pinentry-curses \
- --disable-pinentry-gtk \
- --disable-pinentry-qt \
- --enable-pinentry-gtk2 \
- --disable-pinentry-qt4 \
- --enable-fallback-curses")
- def build():
- autotools.make()
- def install():
- autotools.install()
- # We're using pinentry-wrapper as additional file instead of upstream pinentry symlink.
- pisitools.remove("/usr/bin/pinentry")
- pisitools.dosym("pinentry-gtk-2", "/usr/bin/pinentry-gtk")
- #pisitools.dosym("pinentry-qt4", "/usr/bin/pinentry-qt")
- pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "THANKS")
|