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} |
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 |