123456789101112131415161718192021222324252627282930 |
- #!/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 autotools
- from pisi.actionsapi import pisitools
- from pisi.actionsapi import get
- def setup():
- autotools.configure()
- def build():
- autotools.make()
- def check():
- #autotools.make("check")
- pass
- def install():
- autotools.rawInstall("DESTDIR=%s" % get.installDIR())
- pisitools.rename("/usr/bin/yacc", "yacc.bison")
- pisitools.rename("/usr/share/man/man1/yacc.1", "yacc.bison.1")
- #pisitools.removeDir("/usr/lib/")
- pisitools.dodoc("AUTHORS", "NEWS", "ChangeLog", "README", "COPYING")
|