IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8867


Ignore:
Timestamp:
Sep 21, 2006, 12:44:14 PM (20 years ago)
Author:
eugene
Message:

adding psbuild script and tagsets

Location:
trunk/psconfig
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/psconfig.sh

    r6875 r8867  
    5252if ($?LD_LIBRARY_PATH == 0) setenv LD_LIBRARY_PATH
    5353if ($?PKG_CONFIG_PATH == 0) setenv PKG_CONFIG_PATH
     54if ($?PERL5LIB == 0) setenv LD_LIBRARY_PATH
    5455
    5556# identify system architecture
     
    156157endif
    157158
     159set plibdir  = {$PSCONFDIR}/{$PSCONFIG}/lib
     160set newpath = ""
     161set pathlist = `echo $PERL5LIB | tr ':' '\n'`
     162foreach name ($pathlist)
     163  echo $name | grep $PSCONFDIR > /dev/null
     164  if ($status == 0) continue
     165  if ($newpath == "") then
     166    set newpath = {$name}:
     167  else
     168    set newpath = {$newpath}{$name}:
     169  endif
     170end
     171if ("$PSCONFIG" == "none") then
     172  if ("$newpath" == "") then
     173    unsetenv PERL5LIB
     174  else
     175    setenv PERL5LIB {$newpath}
     176  endif
     177else
     178  if ("$newpath" == "") then
     179    setenv PERL5LIB {$plibdir}:
     180  else
     181    setenv PERL5LIB {$plibdir}:{$newpath}
     182  endif
     183endif
     184
    158185set newpath = ""
    159186set pathlist = `echo $PKG_CONFIG_PATH | tr ':' '\n'`
     
    184211  alias  psconfigure configure
    185212  alias  psautogen autogen.sh
     213  alias  psperlbuild perl Build.PL
    186214else
    187215  alias  psconfigure configure --bindir=$bindir --libdir=$libdir --includedir={$PSCONFDIR}/{$PSCONFIG}/include --sysconfdir={$PSCONFDIR}/{$PSCONFIG}/etc --datadir={$PSCONFDIR}/share --mandir={$PSCONFDIR}/man
    188216  alias  psautogen autogen.sh --bindir=$bindir --libdir=$libdir --includedir={$PSCONFDIR}/{$PSCONFIG}/include --sysconfdir={$PSCONFDIR}/{$PSCONFIG}/etc --datadir={$PSCONFDIR}/share --mandir={$PSCONFDIR}/man
    189 endif
     217  alias  psperlbuild perl Build.PL --install_path script=$bindir --install_path lib=$libdir --install_path bindoc={$PSCONFDIR}/man/man1 --install_path libdoc={$PSCONFDIR}/man/man3
     218endif
Note: See TracChangeset for help on using the changeset viewer.