示例#1
0
def setup():

    perlmodules.configure('BUILD_SPAMC="yes" \
                           ENABLE_SSL="yes" \
                           CONTACT_ADDRESS="root@localhost" \
                           SYSCONFDIR=/etc \
                           DATADIR=/usr/share/spamassassin')
示例#2
0
def build():
    shelltools.cd("pidl")
    perlmodules.configure()
    autotools.make()

    shelltools.cd("../source4/")
    autotools.make()
示例#3
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    shelltools.cd("lib")
    perlmodules.configure()
    perlmodules.make()
    perlmodules.install()
示例#4
0
def setup():
    pisitools.cflags.add("-fpic")
    shelltools.system("sed -i -e 's:^Apache-\(Reload\|SizeLimit\|Test\).*::' lib/Bundle/Apache2.pm") 
    perlmodules.configure("MP_APR_CONFIG=/usr/bin/apr-1-config MP_APU_CONFIG=/usr/bin/apu-1-config MP_USE_DSO=1 \
                           MP_APXS=/usr/bin/apxs")

    #pisitools.dosed("WrapXS/Apache2/Connection/Connection.xs", "remote_addr;", "remote_ip;")
    shelltools.system("sed -i -e 's:^Apache-\(Reload\|SizeLimit\|Test\).*::' lib/Bundle/Apache2.pm") 
示例#5
0
def setup():
    #Skip broken PNG/GIF tests in make check
    #http://www.mail-archive.com/[email protected]/msg63124.html

    shelltools.move("t/png.t", "t/png.t.broken")
    shelltools.move("t/gif.t", "t/gif.t.broken")

    perlmodules.configure()
示例#6
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    shelltools.cd("lib")
    perlmodules.configure()
    perlmodules.make()
    perlmodules.install()
    shelltools.cd("..")

    pisitools.dodoc("ChangeLog", "COPYING", "README", "TODO", "USAGE")
示例#7
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    shelltools.cd("lib")
    perlmodules.configure()
    perlmodules.make()
    perlmodules.install()

    # Clean .packlists
    pisitools.removeDir("/usr/lib/perl5/%s" % get.curPERL())
    pisitools.removeDir("/usr/lib/perl5/vendor_perl/%s/%s-linux-thread-multi" % (get.curPERL(), get.ARCH()))

    shelltools.cd("..")
    pisitools.dodoc("ChangeLog", "COPYING", "README", "TODO", "USAGE")
示例#8
0
def setup():
    perlmodules.configure("--skipdeps")
示例#9
0
def setup():
    perlmodules.configure("MP_APR_CONFIG=/usr/bin/apr-1-config \
                           MP_APXS=/usr/sbin/apxs")
示例#10
0
def setup():
    pisitools.dosed("Makefile.PL", "^use diagnostics.*$")
    perlmodules.configure()
示例#11
0
def setup():
    perlmodules.configure("MP_TRACE=1 \
                           MP_DEBUG=1 \
                           MP_USE_DSO=1 \
                           MP_APXS=/usr/sbin/apxs")
示例#12
0
def setup():
    perlmodules.configure("X11INC=/usr/include/X11/ X11LIB=/usr/lib/X11/ ")
示例#13
0
def setup():
    perlmodules.configure("-- /usr/include/openssl/")
示例#14
0
def setup():
    perlmodules.configure()

    pisitools.dosed("Makefile", " -shared ", " -shared %s -lperl " % get.LDFLAGS())
示例#15
0
def setup():
    perlmodules.configure()
    shelltools.chmod("examples/*", 0644)
示例#16
0
def setup():
    pisitools.dosed("bin/gscan2pdf", "<http://www.gnu.org/licenses/>",
                    "http://www.gnu.org/licenses/")
    perlmodules.configure()
示例#17
0
def setup():
    perlmodules.configure("/usr")
示例#18
0
def setup():
    shelltools.system(
        "sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL || die"
    )

    perlmodules.configure()
示例#19
0
def setup():
    pisitools.dosed("ogr/ogrsf_frmts/sqlite/ogr_sqlite.h",
                    "spatialite/sqlite3.h", "sqlite3.h")
    libtools.libtoolize()
    autotools.autoreconf("-vfi")
    autotools.aclocal()
    pisitools.cflags.add("-fno-strict-aliasing")
    pisitools.dosed("configure",
                    "-L\$with_cfitsio -L\$with_cfitsio/lib -lcfitsio",
                    "-lcfitsio")
    pisitools.dosed("configure", "-I\$with_cfitsio -I\$with_cfitsio/include",
                    "-I\$with_cfitsio/include/cfitsio")
    pisitools.dosed("configure",
                    "-lnetcdf -L\$with_netcdf -L\$with_netcdf/lib \$LIBS",
                    "-lnetcdf $LIBS")
    pisitools.dosed("configure", "-L\$DODS_LIB -ldap\+\+", "-ldap++")
    pisitools.dosed("configure", "-L\$with_ogdi -L\$with_ogdi/lib -logdi",
                    "-logdi")
    pisitools.dosed("configure", "-L\$with_jpeg -L\$with_jpeg/lib -ljpeg",
                    "-ljpeg")
    pisitools.dosed("configure", "-L\$with_libtiff\/lib -ltiff", "-ltiff")
    pisitools.dosed("configure", "-lgeotiff -L\$with_geotiff \$LIBS",
                    "-lgeotiff $LIBS")
    pisitools.dosed("configure", "-L\$with_geotiff\/lib -lgeotiff \$LIBS",
                    "-lgeotiff $LIBS")
    pisitools.dosed("ogr/ogrct.cpp", "libproj.so", "libproj.so.0")
    autotools.configure("--disable-static \
                         --enable-shared \
                         --datadir=/usr/share/gdal \
                         --with-ogdi \
                         --with-threads \
                         --with-jasper \
                         --with-odbc=/usr/lib/unixODBC \
                         --with-expat \
                         --with-cfitsio \
                         --with-hdf5 \
                         --with-netcdf \
                         --with-png \
                         --with-geos \
                         --without-mysql \
                         --with-curl \
                         --with-perl \
                         --with-jpeg \
                         --with-jpeg12=no \
                         --with-libtiff \
                         --with-sqlite3 \
                         --with-geotiff=external \
                         --with-podofo \
                         --with-spatialite \
                         --with-ogr \
                         --with-grib \
                         --with-curl \
                         --with-webp \
                         --without-poppler \
                         --with-xerces \
                         --without-openjpeg \
                         --without-libtool \
                         --without-hdf4 \
                         --without-fme \
                         --without-pcraster \
                         --without-kakadu \
                         --without-mrsid \
                         --without-jp2mrsid \
                         --without-msg \
                         --without-bsb \
                         --without-dods-root \
                         --without-oci \
                         --without-ingres \
                         --without-spatialite \
                         --without-dwgdirect \
                         --without-epsilon \
                         --without-idb \
                         --without-sde \
                         --without-ruby")
    shelltools.cd("swig/perl")
    perlmodules.configure()
    pisitools.dosed("Makefile_*", " -shared ", " -Wl,--as-needed -shared ")
示例#20
0
def setup():
    # suppress compiler warnings
    pisitools.dosed("Makefile.PL", "-Wno-comment",
                    "-Wno-comment -Wno-cast-function-type")
    perlmodules.configure()
示例#21
0
def setup():
    perlmodules.configure()

    for i in ["predump", "prenav", "preslurp"]:
        pisitools.dosed("eg/%s" % i, "usr/local/bin/perl", "usr/bin/perl")
示例#22
0
def setup():
    perlmodules.configure("/usr BUILD_SPAMC=\"yes\" ENABLE_SSL=\"yes\" CONTACT_ADDRESS=\"root@localhost\"")
示例#23
0
def setup():
    perlmodules.configure("/usr")
示例#24
0
def setup():
    #shelltools.system("rm sqlite3.*")
    perlmodules.configure("USE_LOCAL_SQLITE=0")
示例#25
0
def setup():
    perlmodules.configure("--default")
示例#26
0
def setup():
    for d in ("README.TXT", "TODO", "Changes"):
        shelltools.chmod(d, 0644)

    perlmodules.configure()
示例#27
0
def setup():
    perlmodules.configure()

    pisitools.dosed("Makefile", " -shared ", " -lperl -Wl,--as-needed -shared ")
示例#28
0
def setup():
    pisitools.dosed("Makefile.PL", "^use diagnostics.*$")
    perlmodules.configure()
示例#29
0
def setup():
    perlmodules.configure()

    for i in ["predump", "prenav","preslurp"]:
        pisitools.dosed("eg/%s" % i, "usr/local/bin/perl", "usr/bin/perl")
示例#30
0
def setup():
    perlmodules.configure("--skipdeps")
示例#31
0
def setup():
    pisitools.dosed(
        "Makefile.PL", "-Wall",
        "-Wall -Wno-cpp -Wno-pointer-sign -Wno-pointer-to-int-cast -Wno-discarded-qualifiers"
    )
    perlmodules.configure()
示例#32
0
def setup():
    perlmodules.configure("-- /usr/include/openssl/")
示例#33
0
def setup():
    perlmodules.configure()
    shelltools.system("rm -rf perl-modules")
示例#34
0
def setup():
    shelltools.system("sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL || die")
    
    perlmodules.configure()
示例#35
0
def setup():
    perlmodules.configure("/usr BUILD_SPAMC=\"yes\" ENABLE_SSL=\"yes\" CONTACT_ADDRESS=\"root@localhost\"")
示例#36
0
def setup():
    perlmodules.configure('BUILD_SPAMC="yes" \
                           ENABLE_SSL="yes" \
                           CONTACT_ADDRESS="root@localhost" \
                           SYSCONFDIR=/etc \
                           DATADIR=/usr/share/spamassassin')
示例#37
0
def setup():
    perlmodules.configure("--default")
示例#38
0
def setup():
    perlmodules.configure()
    # In order to prune unused direct dependencies.
    pisitools.dosed("Makefile", "^OTHERLDFLAGS.*$",
                    "OTHERLDFLAGS = %s" % get.LDFLAGS())
示例#39
0
def setup():
    perlmodules.configure()
    pisitools.dosed("Makefile", "^OTHERLDFLAGS.*$",
                    "OTHERLDFLAGS = %s" % get.LDFLAGS())
示例#40
0
def setup():
    perlmodules.configure()
    shelltools.cd("spamc")
    shelltools.system("./configure.pl && ./configure --enable-ssl=yes")
示例#41
0
def setup():
    perlmodules.configure('/usr BUILD_SPAMC="yes" ENABLE_SSL="yes" CONTACT_ADDRESS="root@localhost"')
示例#42
0
def setup():
    perlmodules.configure()
示例#43
0
def setup():
    for d in ("COPYING", "README.TXT", "TODO", "Changes"):
        shelltools.chmod(d, 0644)

    perlmodules.configure()
示例#44
0
def setup():
    pisitools.dosed("Makefile.PL", "-Wall", "-Wall -Wno-cpp -Wno-pointer-sign -Wno-pointer-to-int-cast -Wno-discarded-qualifiers")
    perlmodules.configure()
示例#45
0
def setup():
    perlmodules.configure()

    # In order to prune unused direct dependencies.
    pisitools.dosed("Makefile", "^OTHERLDFLAGS.*$", "OTHERLDFLAGS = %s" % get.LDFLAGS())
示例#46
0
def setup():
    pisitools.dosed("bin/gscan2pdf", "<http://www.gnu.org/licenses/>", "http://www.gnu.org/licenses/")
    perlmodules.configure()
示例#47
0
def setup():
    perlmodules.configure()
    pisitools.dosed("Makefile", "^OTHERLDFLAGS.*$", "OTHERLDFLAGS = %s" % get.LDFLAGS())
示例#48
0
def setup():
    pisitools.dosed("ogr/ogrsf_frmts/sqlite/ogr_sqlite.h", "spatialite/sqlite3.h", "sqlite3.h")
    libtools.libtoolize()
    autotools.autoreconf("-vfi")
    autotools.aclocal()
    pisitools.cflags.add("-fno-strict-aliasing")
    pisitools.dosed("configure", "-L\$with_cfitsio -L\$with_cfitsio/lib -lcfitsio", "-lcfitsio")
    pisitools.dosed("configure", "-I\$with_cfitsio -I\$with_cfitsio/include", "-I\$with_cfitsio/include/cfitsio")
    pisitools.dosed("configure", "-lnetcdf -L\$with_netcdf -L\$with_netcdf/lib \$LIBS", "-lnetcdf $LIBS")
    pisitools.dosed("configure", "-L\$DODS_LIB -ldap\+\+", "-ldap++")
    pisitools.dosed("configure", "-L\$with_ogdi -L\$with_ogdi/lib -logdi", "-logdi")
    pisitools.dosed("configure", "-L\$with_jpeg -L\$with_jpeg/lib -ljpeg", "-ljpeg")
    pisitools.dosed("configure", "-L\$with_libtiff\/lib -ltiff", "-ltiff")
    pisitools.dosed("configure", "-lgeotiff -L\$with_geotiff \$LIBS", "-lgeotiff $LIBS")
    pisitools.dosed("configure", "-L\$with_geotiff\/lib -lgeotiff \$LIBS", "-lgeotiff $LIBS")
    pisitools.dosed("ogr/ogrct.cpp", "libproj.so", "libproj.so.0")
    autotools.configure("--disable-static \
                         --enable-shared \
                         --datadir=/usr/share/gdal \
                         --with-ogdi \
                         --with-threads \
                         --with-jasper \
                         --with-odbc=/usr/lib/unixODBC \
                         --with-expat \
                         --with-cfitsio \
                         --with-hdf5 \
                         --with-netcdf \
                         --with-png \
                         --with-geos \
                         --without-mysql \
                         --with-curl \
                         --with-perl \
                         --with-jpeg \
                         --with-jpeg12=no \
                         --with-libtiff \
                         --with-sqlite3 \
                         --with-geotiff=external \
                         --with-podofo \
                         --with-spatialite \
                         --with-ogr \
                         --with-grib \
                         --with-curl \
                         --with-webp \
                         --with-python \
                         --without-poppler \
                         --with-xerces \
                         --without-openjpeg \
                         --without-libtool \
                         --without-hdf4 \
                         --without-fme \
                         --without-pcraster \
                         --without-kakadu \
                         --without-mrsid \
                         --without-jp2mrsid \
                         --without-msg \
                         --without-bsb \
                         --without-dods-root \
                         --without-oci \
                         --without-ingres \
                         --without-spatialite \
                         --without-dwgdirect \
                         --without-epsilon \
                         --without-idb \
                         --without-sde \
                         --without-ruby")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

    shelltools.cd("swig/perl")
    perlmodules.configure()
    pisitools.dosed("Makefile_*"," -shared ", " -Wl,--as-needed -shared ")
示例#49
0
def setup():
    perlmodules.configure()
示例#50
0
def setup():
    perlmodules.configure("X11INC=/usr/include/X11/ X11LIB=/usr/lib/X11/ ")