Magellan Linux

Diff of /trunk/include/cmake.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/core/include/cmake.sminc revision 4858 by niro, Fri Feb 12 13:29:14 2010 UTC branches/magellan-next/include/cmake.sminc revision 8012 by niro, Tue Jun 28 19:58:57 2011 UTC
# Line 96  cmake_build_not() Line 96  cmake_build_not()
96   echo "-DBUILD_${feature}=OFF"   echo "-DBUILD_${feature}=OFF"
97  }  }
98    
99    # install cmake opts
100    cmake_install()
101    {
102     local feature="$1"
103     local option="$2"
104     echo "-DINSTALL_${feature}=\"${option}\""
105    }
106    
107    # generic cmake opts
108    cmake_opt()
109    {
110     local feature="$1"
111     local option="$2"
112     echo "-D${feature}=\"${option}\""
113    }
114    
115  cmake_src_prepare()  cmake_src_prepare()
116  {  {
117   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
# Line 143  cmake_src_install() Line 159  cmake_src_install()
159   cd ${BUILDDIR}/build   cd ${BUILDDIR}/build
160   make DESTDIR=${BINDIR} install || die   make DESTDIR=${BINDIR} install || die
161    
162     cd ${SRCDIR}
163   local i   local i
164   for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \   for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \
165   FAQ LICENSE NEWS README TODO   FAQ LICENSE NEWS README TODO

Legend:
Removed from v.4858  
changed lines
  Added in v.8012