Merge bk://openembedded@openembedded.bkbits.net/packages
[vuplus_openembedded] / rxvt / rxvt_2.7.9.oe
1 PR = "r1"
2 DEPENDS = "x11 xft"
3 DESCRIPTION = "Well known terminal emulator"
4
5 SRC_URI = "pserver://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=apps/rxvt \
6            file://include.patch;patch=1"
7
8 inherit autotools update-alternatives
9
10 ALTERNATIVE_NAME = "x-terminal-emulator"
11 ALTERNATIVE_PATH = "${bindir}/rxvt-2.7.9"
12
13 S = ${WORKDIR}/rxvt
14
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}/.."
25                 
26 EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
27                 'XLIB=-L${STAGING_LIBDIR} -lX11 -lXft'"
28
29 do_configure () {
30         mv autoconf/configure.in . || true
31         rm autoconf/libtool.m4
32         libtoolize --force
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
40 }