def setup(): perlmodules.configure('BUILD_SPAMC="yes" \ ENABLE_SSL="yes" \ CONTACT_ADDRESS="root@localhost" \ SYSCONFDIR=/etc \ DATADIR=/usr/share/spamassassin')
def build(): shelltools.cd("pidl") perlmodules.configure() autotools.make() shelltools.cd("../source4/") autotools.make()
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) shelltools.cd("lib") perlmodules.configure() perlmodules.make() perlmodules.install()
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")
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()
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")
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")
def setup(): perlmodules.configure("--skipdeps")
def setup(): perlmodules.configure("MP_APR_CONFIG=/usr/bin/apr-1-config \ MP_APXS=/usr/sbin/apxs")
def setup(): pisitools.dosed("Makefile.PL", "^use diagnostics.*$") perlmodules.configure()
def setup(): perlmodules.configure("MP_TRACE=1 \ MP_DEBUG=1 \ MP_USE_DSO=1 \ MP_APXS=/usr/sbin/apxs")
def setup(): perlmodules.configure("X11INC=/usr/include/X11/ X11LIB=/usr/lib/X11/ ")
def setup(): perlmodules.configure("-- /usr/include/openssl/")
def setup(): perlmodules.configure() pisitools.dosed("Makefile", " -shared ", " -shared %s -lperl " % get.LDFLAGS())
def setup(): perlmodules.configure() shelltools.chmod("examples/*", 0644)
def setup(): pisitools.dosed("bin/gscan2pdf", "<http://www.gnu.org/licenses/>", "http://www.gnu.org/licenses/") perlmodules.configure()
def setup(): perlmodules.configure("/usr")
def setup(): shelltools.system( "sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL || die" ) perlmodules.configure()
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 ")
def setup(): # suppress compiler warnings pisitools.dosed("Makefile.PL", "-Wno-comment", "-Wno-comment -Wno-cast-function-type") perlmodules.configure()
def setup(): perlmodules.configure() for i in ["predump", "prenav", "preslurp"]: pisitools.dosed("eg/%s" % i, "usr/local/bin/perl", "usr/bin/perl")
def setup(): perlmodules.configure("/usr BUILD_SPAMC=\"yes\" ENABLE_SSL=\"yes\" CONTACT_ADDRESS=\"root@localhost\"")
def setup(): #shelltools.system("rm sqlite3.*") perlmodules.configure("USE_LOCAL_SQLITE=0")
def setup(): perlmodules.configure("--default")
def setup(): for d in ("README.TXT", "TODO", "Changes"): shelltools.chmod(d, 0644) perlmodules.configure()
def setup(): perlmodules.configure() pisitools.dosed("Makefile", " -shared ", " -lperl -Wl,--as-needed -shared ")
def setup(): perlmodules.configure() for i in ["predump", "prenav","preslurp"]: pisitools.dosed("eg/%s" % i, "usr/local/bin/perl", "usr/bin/perl")
def setup(): pisitools.dosed( "Makefile.PL", "-Wall", "-Wall -Wno-cpp -Wno-pointer-sign -Wno-pointer-to-int-cast -Wno-discarded-qualifiers" ) perlmodules.configure()
def setup(): perlmodules.configure() shelltools.system("rm -rf perl-modules")
def setup(): shelltools.system("sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL || die") perlmodules.configure()
def setup(): perlmodules.configure() # In order to prune unused direct dependencies. pisitools.dosed("Makefile", "^OTHERLDFLAGS.*$", "OTHERLDFLAGS = %s" % get.LDFLAGS())
def setup(): perlmodules.configure() pisitools.dosed("Makefile", "^OTHERLDFLAGS.*$", "OTHERLDFLAGS = %s" % get.LDFLAGS())
def setup(): perlmodules.configure() shelltools.cd("spamc") shelltools.system("./configure.pl && ./configure --enable-ssl=yes")
def setup(): perlmodules.configure('/usr BUILD_SPAMC="yes" ENABLE_SSL="yes" CONTACT_ADDRESS="root@localhost"')
def setup(): perlmodules.configure()
def setup(): for d in ("COPYING", "README.TXT", "TODO", "Changes"): shelltools.chmod(d, 0644) perlmodules.configure()
def setup(): pisitools.dosed("Makefile.PL", "-Wall", "-Wall -Wno-cpp -Wno-pointer-sign -Wno-pointer-to-int-cast -Wno-discarded-qualifiers") perlmodules.configure()
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 ")