summaryrefslogtreecommitdiffstats
path: root/xorg/xorg-xterm/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-10-27 23:08:19 +0100
committerThierry N <thierryn1 at hispeed dot ch>2009-10-27 23:08:19 +0100
commit68d85945e1f9a3d0f73871ba81728203a2d999a8 (patch)
tree029879cb547438b77eaecc66b768a14115931c1a /xorg/xorg-xterm/Pkgfile
parentfa487d010712a95ca30621b26162c59afb19bca1 (diff)
downloadnutyx-extra-68d85945e1f9a3d0f73871ba81728203a2d999a8.tar.gz
nutyx-extra-68d85945e1f9a3d0f73871ba81728203a2d999a8.tar.bz2
nutyx-extra-68d85945e1f9a3d0f73871ba81728203a2d999a8.tar.xz
nutyx-extra-68d85945e1f9a3d0f73871ba81728203a2d999a8.zip
Ajout de xorg-xterm#242-1
Diffstat (limited to 'xorg/xorg-xterm/Pkgfile')
-rw-r--r--xorg/xorg-xterm/Pkgfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/xorg/xorg-xterm/Pkgfile b/xorg/xorg-xterm/Pkgfile
new file mode 100644
index 000000000..d19b1946e
--- /dev/null
+++ b/xorg/xorg-xterm/Pkgfile
@@ -0,0 +1,33 @@
+# 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
+
+name=xorg-xterm
+version=242
+release=1
+XORG_PREFIX=/usr
+XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
+ --mandir=$XORG_PREFIX/share/man --localstatedir=/var"
+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
+}