Magellan Linux

Diff of /trunk/extras/opera/opera-10.60-r1.smage2

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

revision 5519 by niro, Thu Jul 1 11:10:47 2010 UTC revision 5520 by niro, Thu Jul 1 11:12:36 2010 UTC
# Line 89  split_info_opera-gtk2() Line 89  split_info_opera-gtk2()
89  src_prepare()  src_prepare()
90  {  {
91   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
  cd ${SRCDIR}  
   
  # fix install destination  
  sed -i "s:/usr/local:${BINDIR}/opt/opera:g" install || die  
92  }  }
93    
94  src_install_opera()  src_install_opera()
95  {  {
96   cd ${SRCDIR}   cd ${SRCDIR}
97    
98     # fix install destination
99     # (do it here, not in src_unpack to support split-packages)
100     sed -i "s:/usr/local:${BINDIR}/opt/opera:g" install || die
101    
102   # prepare installation directories for opera's installer script   # prepare installation directories for opera's installer script
103   minstalldir /opt/opera   minstalldir /opt/opera
104   # run opera's native installer   # run opera's native installer

Legend:
Removed from v.5519  
changed lines
  Added in v.5520