Magellan Linux

Diff of /trunk/extras/libsoundtouch/libsoundtouch-1.4.0-r1.smage2

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

revision 4537 by niro, Thu Dec 24 23:58:02 2009 UTC revision 4538 by niro, Fri Dec 25 00:02:07 2009 UTC
# Line 13  HOMEPAGE="http://www.surina.net/soundtou Line 13  HOMEPAGE="http://www.surina.net/soundtou
13  DEPEND=">= virtual/glibc"  DEPEND=">= virtual/glibc"
14    
15  SRCFILE="${PNAME/lib/}-${PVER}.tar.gz"  SRCFILE="${PNAME/lib/}-${PVER}.tar.gz"
16  SRCDIR="${BUILDDIR}/${PNAME/lib/}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME/lib/}"
17    
18  sminclude mbuild  sminclude mbuild
19    
20  SRC_URI=(  SRC_URI=(
21   http://www.surina.net/${PNAME/lib/}/${SRCFILE}   http://www.surina.net/${PNAME/lib/}/${SRCFILE}
22   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
  mirror://${PNAME}/${PNAME}-1.3.1-cflags.patch  
  mirror://${PNAME}/${PNAME}-1.3.1-doc-3.patch  
  mirror://${PNAME}/${PNAME}-1.3.1-am-fixes.patch  
23  )  )
24    
25  UP2DATE="updatecmd -listonly ${HOMEPAGE} | grep ${PNAME/lib/} | lasttarball gz"  UP2DATE="updatecmd -listonly ${HOMEPAGE} | grep ${PNAME/lib/} | lasttarball gz"
   
 src_prepare()  
 {  
  munpack ${SRCFILE} || die  
  cd ${SRCDIR}  
   
  # fix CFLAGS  
  mpatch ${PNAME}-1.3.1-cflags.patch || die  
   
  # fix doc dir  
  mpatch ${PNAME}-1.3.1-doc-3.patch || die  
   
  # autotools fixes  
  mpatch ${PNAME}-1.3.1-am-fixes.patch || die  
   
  autoreconf --install --force || die  
 }  

Legend:
Removed from v.4537  
changed lines
  Added in v.4538