12345678910111213141516171819202122232425262728293031323334 |
- #!/usr/bin/env python3
- # -*- coding: utf-8 -*-
- #
- # Licensed under the GNU General Public License, version 3.
- # See the file http://www.gnu.org/licenses/gpl.txt
- from inary.actionsapi import shelltools
- from inary.actionsapi import autotools
- from inary.actionsapi import inarytools
- from inary.actionsapi import get
- def setup():
- autotools.configure("--disable-setuid \
- --disable-rpath \
- --with-sections=\"1 1p 8 2 3 3p 4 5 6 7 9 0p n l p o 1x 2x 3x 4x 5x 6x 7x 8x\" \
- --without-systemd \
- --with-device=utf8 \
- --enable-mb-groff")
- def build():
- #shelltools.system("sed -i '/gets is a security hole/d' gnulib/lib/stdio.in.h")
- autotools.make("CC='%s %s' V=1 nls=all" % (get.CC(), get.CFLAGS()))
- def install():
- autotools.rawInstall("DESTDIR=%s" % get.installDIR())
- inarytools.dodir("/var/cache/man")
- # These are shipped with groff
- #inarytools.remove("/usr/bin/zsoelim")
- inarytools.removeDir("/lib/")
- inarytools.dodoc("README")
|