# Description: The standard termulator. # URL: http://dickey.his.com/xterm/xterm.html # Packager: Han Boetes, han at mijncomputer dot nl # Maintainer: Jose V Beneyto, sepen at crux dot nu # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: xorg-libxaw xorg-font-alias xorg-font-misc-misc name=xterm version=255 release=1 source=(ftp://invisible-island.net/$name/$name-$version.tgz \ configure.diff) build() { cd $name-$version [ -z "$BASH_VERSION" ] && patch -p0 -i $SRC/configure.diff export CFLAGS="$CFLAGS -I$CLFS/usr/include" export LIBS="-lXft" ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --disable-nls \ --enable-256-color \ --enable-wide-chars sed -i Makefile -e "s|-I/usr/include|-I$CLFS/usr/include|g" make make install DESTDIR=$PKG chmod 0755 $PKG/usr/bin/$name }