summaryrefslogtreecommitdiffstats
path: root/xorg-xterm/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-xterm/Pkgfile')
-rw-r--r--xorg-xterm/Pkgfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/xorg-xterm/Pkgfile b/xorg-xterm/Pkgfile
new file mode 100644
index 000000000..10a0c9346
--- /dev/null
+++ b/xorg-xterm/Pkgfile
@@ -0,0 +1,31 @@
+# Description: Emulateur de terminal X
+# URL: http://invisible-island.net/xterm/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: xorg-server
+# Run on: expat,fontconfig,freetype,xorg-libice,xorg-libsm,xorg-libx11,xorg-libxau,xorg-libxaw,xorg-libxcb,xorg-libxdmcp,xorg-libxext,xorg-libxft,xorg-libxmu,xorg-libxpm,xorg-libxrender,xorg-libxt
+
+name=xorg-xterm
+version=276
+release=1
+source=(ftp://invisible-island.net/xterm/xterm-$version.tgz)
+
+build() {
+ cd xterm-$version
+ sed -i '/v0/,+1s/new:/new:kb=^?:/' termcap
+ echo -e '\tkbs=\\177,' >>terminfo
+ TERMINFO=/usr/lib/terminfo ./configure $XORG_CONFIG \
+ --enable-luit \
+ --enable-wide-chars \
+ --with-app-defaults=$XORG_PREFIX/share/X11/app-defaults
+ make
+ make DESTDIR=$PKG install
+ make DESTDIR=$PKG install-ti
+cat >> $PKG/$XORG_PREFIX/share/X11/app-defaults/XTerm << "EOF"
+*VT100*locale: true
+*VT100*faceName: Monospace
+*VT100*faceSize: 10
+*backarrowKeyIsErase: true
+*ptyInitialErase: true
+EOF
+}