# cpan-dbi/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. For now, don't update the "DBD::mysql" source tarball used by this package. Newer releases produce FTBFS errors. #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] configure = none proddir = none purge = no revision = numeric setpaths = gnutls3, mariadb, perl5, postgresql shareddir = yes tmpsize = 82M unpack = relaxed #--------------------------------------------------------------------- [provides-cpan] DBD::MySQL #--------------------------------------------------------------------- [depends] cpan-moredate cpan-moretie cpan-morexml cpan-set01 cpan-set09 gnutls3 mariadb perl:strict postgresql sqlite3 #--------------------------------------------------------------------- [build] #--------------------------------------------------------------------- # Standard stanza for most Laclin CPAN builds. export HOME=`pwd` export LD_LIBRARY_PATH=$PRODTREE/perl5/lib:$LD_LIBRARY_PATH export PERL_CANARY_STABILITY_NOPROMPT=1 CPANDIR=$HOME/.cpan CFGDIR=$CPANDIR/CPAN mkdir -p $CFGDIR sed -e "s@__META_CPANDIR__@$CPANDIR@" \ < $PRODTREE/perl5/data/MyConfig.pm.in \ > $CFGDIR/MyConfig.pm #--------------------------------------------------------------------- # This part is module-specific. export LACINCDIRS=$PRODTREE/mariadb/include/mysql:$LACINCDIRS export LACCPANTIMEOUT=600 #--------------------------------------------------------------------- # This part is standard for most "laccpaninstall" packages. for pkg in `cat $PKGDIR_SPECIAL/cpanbuild.lst` do laccpaninstall $pkg || exit 1 done #--------------------------------------------------------------------- # "DBD::mysql" needs an old release, plus patches, so it needs to be # built at this level. perl Makefile.PL && make && make install #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = n/a url_home = n/a url_lfs = n/a url_tarball = Local CPAN mirror #--------------------------------------------------------------------- [history] 180415 Restructured CPAN setup