Changeset 3831:0f9c7eb89afb in roaraudio for configure


Ignore:
Timestamp:
05/11/10 23:26:30 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

build and install .pc files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r3819 r3831  
    3838PREFIX_INC='' 
    3939PREFIX_MAN='' 
     40PREFIX_PC='' 
    4041PREFIX_COMP_LIBS='' 
    4142PREFIX_COMP_BINS='' 
     
    190191   echo '--prefix-inc DIR            - Set prefix for include files (default: $PREFIX/include)' 
    191192   echo '--prefix-man DIR            - Set prefix for manpages (default: $PREFIX/man)' 
     193   echo '--prefix-pc DIR             - Set prefix for pkg-config (default: $PREFIX_LIB/pkgconfig)' 
    192194   echo '--prefix-comp-libs DIR      - Set prefix for compatibility librarys (default: $PREFIX_LIB/roaraudio/complibs)' 
    193195   echo '--prefix-comp-bins DIR      - Set prefix for compatibility binarys  (default: $PREFIX_LIB/roaraudio/compbins)' 
     
    436438   shift; 
    437439  ;; 
     440  '--prefix-pc') 
     441   PREFIX_PC="$2" 
     442   shift; 
     443  ;; 
    438444  # we should remove --prefix-comp soon 
    439445  '--prefix-comp'|'--prefix-comp-libs') 
     
    461467  '--prefix-man=*') 
    462468   PREFIX_MAN=$(echo "$1" | cut -d= -f2) 
     469  ;; 
     470  '--prefix-pc=*') 
     471   PREFIX_PC=$(echo "$1" | cut -d= -f2) 
    463472  ;; 
    464473  '--prefix-comp-libs='*) 
     
    846855[ "$PREFIX_INC"  = '' ] && PREFIX_INC="$PREFIX/include/" 
    847856[ "$PREFIX_MAN"  = '' ] && PREFIX_MAN="$PREFIX/share/man/" 
     857[ "$PREFIX_PC"   = '' ] && PREFIX_PC="$PREFIX_LIB/pkgconfig/" 
    848858[ "$PREFIX_COMP_LIBS" = '' ] && PREFIX_COMP_LIBS="$PREFIX_LIB/roaraudio/complibs/" 
    849859[ "$PREFIX_COMP_BINS" = '' ] && PREFIX_COMP_BINS="$PREFIX_LIB/roaraudio/compbins/" 
     
    892902 echo "PREFIX_INC=$PREFIX_INC" 
    893903 echo "PREFIX_MAN=$PREFIX_MAN" 
     904 echo "PREFIX_PC=$PREFIX_PC" 
    894905 echo "PREFIX_COMP_LIBS=$PREFIX_COMP_LIBS" 
    895906 echo "PREFIX_COMP_BINS=$PREFIX_COMP_BINS" 
Note: See TracChangeset for help on using the changeset viewer.