3 DESCRIPTION = "Well known terminal emulator"
5 SRC_URI = "pserver://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=apps/rxvt \
6 file://include.patch;patch=1"
8 inherit autotools update-alternatives
10 ALTERNATIVE_NAME = "x-terminal-emulator"
11 ALTERNATIVE_PATH = "${bindir}/rxvt-2.7.9"
15 EXTRA_OECONF = "--disable-menubar --disable-xim \
16 --enable-utmp --enable-wtmp --enable-lastlog \
17 --disable-strings --with-term=rxvt --enable-keepscrolling \
18 --with-xft --with-name=rxvt --enable-frills \
19 --enable-swapscreen --enable-transparency \
20 --with-codesets=eu,jp \
21 --enable-cursor-blink --enable-pointer-blank \
22 --enable-text-blink --enable-plain-scroll \
23 --enable-combining --enable-shared \
24 --with-x=${STAGING_LIBDIR}/.."
26 EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
27 'XLIB=-L${STAGING_LIBDIR} -lX11 -lXft'"
30 mv autoconf/configure.in . || true
31 rm autoconf/libtool.m4
33 autotools_do_configure
34 echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
35 echo '#define RXVT_WTMP_FILE "${localstatedir}/log/wtmp"' >> config.h
36 echo '#define RXVT_LASTLOG_FILE "${localstatedir}/log/lastlog"' >> config.h
37 echo '#define HAVE_XLOCALE 1' >> config.h
38 echo '#define HAVE_UTMP_H 1' >> config.h
39 echo '#define HAVE_TTYSLOT 1' >> config.h