2 HOMEPAGE
= "http://www.gnu.org/software/emacs/"
5 #
and it needs
to run some generated binaries..
6 DEPENDS
+= "qemu-native"
7 #NOTE
: I have found that this only works with qemu
-0.8.0.
If I use
0.8.1 or 0.8.2
8 # the build gets hung up on compiling certain .el files
10 PV
= "22.0.50+cvs${SRCDATE}"
14 DEFAULT_PREFERENCE
= "-1"
16 SRC_URI
= "cvs://anoncvs:anonymous@cvs.savannah.gnu.org/sources/emacs;module=emacs \
17 file://use-qemu.patch"
18 S
= "${WORKDIR}/emacs"
22 PACKAGES
=+ "${PN}-el"
24 FILES_$
{PN
}-el
= "${datadir}/emacs/*/*/*.el.gz \
25 ${datadir}/emacs/*/*/*/*.el.gz"
27 FILES_$
{PN
} += "${datadir}/emacs"
29 QEMU
= "qemu-${TARGET_ARCH} -L ${STAGING_DIR_TARGET}"
30 LDFLAGS
+= "-L${TOOLCHAIN_PATH}/${TARGET_SYS}/lib"
32 EXTRA_OECONF
= "--without-sound --without-x"
35 cp
"${TOOLCHAIN_PATH}/${TARGET_SYS}/lib/libgcc_s.so.1" "${S}"
36 export LD_LIBRARY_PATH
="$LD_LIBRARY_PATH:${S}"
39 sed
-i 's
:/usr
/lib
:$
{STAGING_LIBDIR
}:g' $
{S
}/src
/s
/gnu
-linux.h
40 find
"${S}" -name Makefile | xargs sed
-i 's
:/usr
/lib
:$
{STAGING_LIBDIR
}:g'
46 addtask bootstrap
before do_compile
after do_configure
48 do_compile_prepend
() {
49 cp
"${TOOLCHAIN_PATH}/${TARGET_SYS}/lib/libgcc_s.so.1" "${S}"
50 export LD_LIBRARY_PATH
="$LD_LIBRARY_PATH:${S}"