31 |
src_prepare() |
src_prepare() |
32 |
{ |
{ |
33 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
|
cd ${SRCDIR} |
|
34 |
|
|
35 |
# fix hardcoded tcl version and use DESTDIR |
# fix hardcoded tcl version and use DESTDIR |
36 |
sed -i -e "s:-ltcl8.4:-ltcl:g" -e "s:instroot:DESTDIR:g" Makefile.in || die |
all-abis sed -i -e "s:-ltcl8.4:-ltcl:g" -e "s:instroot:DESTDIR:g" Makefile.in || die |
37 |
echo '#define USE_INTERP_RESULT 1' >> config.h |
all-abis echo '#define USE_INTERP_RESULT 1' >> config.h |
38 |
} |
} |
39 |
|
|
40 |
src_compile() |
src_compile() |
44 |
mconfigure --with-tcl || die |
mconfigure --with-tcl || die |
45 |
mmake || die |
mmake || die |
46 |
} |
} |
|
|
|
|
src_install() |
|
|
{ |
|
|
cd ${SRCDIR} |
|
|
|
|
|
mmake DESTDIR=${BINDIR} install || die |
|
|
} |
|