Magellan Linux

Diff of /smage/branches/alx-0_6_0/core/mage/mage-0.4.25-r1.smage2

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

revision 1868 by niro, Wed Apr 27 09:50:47 2011 UTC revision 2114 by niro, Thu May 12 20:14:45 2011 UTC
# Line 20  sminclude alx Line 20  sminclude alx
20    
21  SRC_URI=(  SRC_URI=(
22   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${PNAME}-${PVER}-magequery-ignore-mage-files.patch
24  )  )
25    
26  src_prepare()  src_prepare()
27  {  {
28   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
29     cd ${SRCDIR}
30    
31     # fix magequery
32     mpatch ${PNAME}-${PVER}-magequery-ignore-mage-files.patch || die
33  }  }
34    
35  src_install()  src_install()
# Line 36  src_install() Line 41  src_install()
41   echo "${PVER}-${PBUILD}" > ${BINDIR}/usr/lib/mage/version || die   echo "${PVER}-${PBUILD}" > ${BINDIR}/usr/lib/mage/version || die
42  }  }
43    
44    preinstall()
45    {
46     add_conf_prot_mask /etc/mage.rc.example /etc/etc-update.conf
47    }
48    
49  postinstall()  postinstall()
50  {  {
51   local PVER   local PVER

Legend:
Removed from v.1868  
changed lines
  Added in v.2114