Magellan Linux

Diff of /smage/trunk/include/alx.sminc

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

revision 3646 by niro, Fri Jul 13 15:07:38 2012 UTC revision 5462 by niro, Tue Mar 25 10:53:33 2014 UTC
# Line 21  mcinjectfile() Line 21  mcinjectfile()
21   if [[ -z $2 ]]   if [[ -z $2 ]]
22   then   then
23   dest=/usr/bin   dest=/usr/bin
  install -d ${BINDIR}/${dest} || die  
24   fi   fi
25    
26     # needed directory
27     #minstalldir ${dest} || die
28    
29   # install our configfile   # install our configfile
30   install -m 0644 -o root -g root ${file} ${BINDIR}/${dest} || die   minstallfile ${file} ${dest} || die
31  }  }
32    
33  # injects executables to given path  # injects executables to given path
# Line 42  mcinjectexec() Line 44  mcinjectexec()
44   if [[ -z $2 ]]   if [[ -z $2 ]]
45   then   then
46   dest=/usr/bin   dest=/usr/bin
  install -d ${BINDIR}/${dest} || die  
47   fi   fi
48    
49     # needed directory
50     #minstalldir ${dest} || die
51    
52   # install our configfile   # install our configfile
53   install -m 0755 -o root -g root ${file} ${BINDIR}/${dest} || die   minstallexec ${file} ${dest} || die
54  }  }
55    
56  # injects a patch to the sourcecode  # injects a patch to the sourcecode
# Line 92  then Line 96  then
96  else  else
97   alx_old_mconfigure=alx_old$(typeset -f oldmconfigure)   alx_old_mconfigure=alx_old$(typeset -f oldmconfigure)
98  fi  fi
99  eval ${alx_old_mconfigure}  eval "${alx_old_mconfigure}"
100  mconfigure()  mconfigure()
101  {  {
102   local myconf   local myconf
# Line 128  mconfigure() Line 132  mconfigure()
132   done < ${configurefile}   done < ${configurefile}
133   fi   fi
134    
135   alx_oldmconfigure --disable-nls ${myconf} $@ ${ALX_CONFIGURE_OPTS} || die   alx_oldmconfigure ${myconf} $@ ${ALX_CONFIGURE_OPTS} || die
136  }  }
137    
138  # get custom mcore functions  # get custom mcore functions

Legend:
Removed from v.3646  
changed lines
  Added in v.5462