# cpan-tk - "Build" settings for package

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

[technotes]

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

[buildtimes]

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

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

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

[depends]
cpan-dbi
cpan-set09
perl:strict
xorg

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

[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 nonstandard.

export LD_LIBRARY_PATH=$PRODTREE/xorg/lib:$LD_LIBRARY_PATH

perl Makefile.PL
treetextsub \
    --pattern=/usr/X11R6 --newtext=$PRODTREE/xorg --keeptimes

make && make install
laccpaninstall Tk::FontDialog+notest

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

# 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]