12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #!/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 setup():
- autotools.configure("--disable-static \
- --disable-dependency-tracking \
- --disable-ldap \
- --disable-ldaps \
- --with-ssl \
- --with-zlib \
- --with-libidn \
- --with-libssh2 \
- --with-gssapi=no \
- --with-nghttp2 \
- --without-librtmp \
- --enable-ipv6 \
- --enable-http \
- --enable-ftp \
- --enable-file \
- --enable-dict \
- --enable-manual \
- --enable-gopher \
- --enable-telnet \
- --enable-largefile \
- --enable-nonblocking \
- --enable-threaded-resolver \
- --enable-hidden-symbols \
- --disable-versioned-symbols \
- --without-libgsasl \
- --without-libpsl \
- ac_cv_header_gss_h=no \
- --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
- --prefix=/usr \
- --with-random=/dev/urandom \
- --mandir=/usr/share/man ")
- def build():
- autotools.make()
- def check():
- #shelltools.export("LD_LIBRARY_PATH", "%s/lib" % get.curDIR())
- #autotools.make("-C tests test")
- pass
- def install():
- autotools.rawInstall("DESTDIR=%s" % get.installDIR())
- pisitools.dodoc("docs/FEATURES*", "docs/FAQ*", "docs/BUGS*")
|