# cpan-set02 - "Build" settings for package

#---------------------------------------------------------------------

[technotes]

#---------------------------------------------------------------------

[buildtimes]

#---------------------------------------------------------------------

[settings]
configure  = none
license    = TBD and/or module-specific
nosyslinks = yes
proddir    = none
purge      = no
setpaths   = perl5
shareddir  = yes
tmpsize    = 1GB
unpack     = none

#---------------------------------------------------------------------

[depends]
cpan-net-ssleay
cpan-set01
cpan-term-readkey
perl:strict

#---------------------------------------------------------------------

[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

#---------------------------------------------------------------------

for pkg in `cat $PKGDIR_SPECIAL/cpanbuild.lst`
do
    laccpaninstall $pkg || exit 1
done

#---------------------------------------------------------------------

# 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