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 4540 by niro, Fri Dec 25 00:02:07 2009 UTC revision 4541 by niro, Fri Dec 25 09:53:03 2009 UTC
# Line 20  sminclude mbuild Line 20  sminclude mbuild
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}
23     mirror://${PNAME}/${PNAME}-${PVER}-cflags.patch
24  )  )
25    
26  UP2DATE="updatecmd -listonly ${HOMEPAGE} | grep ${PNAME/lib/} | lasttarball gz"  UP2DATE="updatecmd -listonly ${HOMEPAGE} | grep ${PNAME/lib/} | lasttarball gz"
27    
28    src_prepare()
29    {
30     munpack ${SRCFILE} || die
31     cd ${SRCDIR}
32    
33     # fix CFLAGS
34     mpatch ${PNAME}-${PVER}-cflags.patch || die
35    }
36    
37    src_install()
38    {
39     cd ${SRCDIR}
40     mmake DESTDIR=${BINDIR} install || die
41    
42     # upstream changed pkgconfig filename
43     mlink ${PNAME/lib/}-1.4.pc /usr/$(mlibdir)/pkgconfig/${PNAME/lib/}-1.0.pc || die
44    
45     minstalldocs COPYING.TXT README.html || die
46    }

Legend:
Removed from v.4540  
changed lines
  Added in v.4541