Magellan Linux

Diff of /branches/magellan-next/core/libmad/libmad-0.15.1b-r11.smage2

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

revision 8287 by niro, Thu Jul 14 09:41:58 2011 UTC revision 8288 by niro, Thu Jul 14 10:51:58 2011 UTC
# Line 14  DEPEND=">= virtual/glibc" Line 14  DEPEND=">= virtual/glibc"
14  SRCFILE="${PNAME}-${PVER}.tar.gz"  SRCFILE="${PNAME}-${PVER}.tar.gz"
15  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16    
17  sminclude mtools mbuild  sminclude mtools
18    
19  SRC_URI=(  SRC_URI=(
20   ftp://ftp.mars.org/pub/mpeg/${SRCFILE}   ftp://ftp.mars.org/pub/mpeg/${SRCFILE}
# Line 24  SRC_URI=( Line 24  SRC_URI=(
24    
25  UP2DATE="updatecmd_sourceforge mad libmad"  UP2DATE="updatecmd_sourceforge mad libmad"
26    
27  src_compile()  src_prepare()
28  {  {
29     munpack ${SRCFILE} || die
30   cd ${SRCDIR}   cd ${SRCDIR}
31    
32     # fix libtool
33     rm ${SRCDIR}/ltmain.sh || die
34     libtoolize --verbose --install --force || die
35    
36   # remove unsupported cflags with gcc-4.3   # remove unsupported cflags with gcc-4.3
37   sed -i "s:-fforce-mem::g" configure.ac || die   sed -i "s:-fforce-mem::g" configure.ac || die
38   # create missing files   # create missing files
39   touch NEWS AUTHORS ChangeLog || die   touch NEWS AUTHORS ChangeLog || die
40   autoreconf --force --install --verbose || die   autoreconf --force --install --verbose || die
41    }
42    
43    src_compile()
44    {
45     cd ${SRCDIR}
46    
47   # arch special preprocessor   # arch special preprocessor
48   local myconf   local myconf

Legend:
Removed from v.8287  
changed lines
  Added in v.8288