CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xvkbd: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Thu, 18 Feb 2010 09:01:04 +0000 (10:01 +0100)
committerroot <root@imasd.next.net>
Thu, 18 Feb 2010 09:01:04 +0000 (10:01 +0100)
xvkbd/.footprint [new file with mode: 0644]
xvkbd/.md5sum [new file with mode: 0644]
xvkbd/Pkgfile [new file with mode: 0644]

diff --git a/xvkbd/.footprint b/xvkbd/.footprint
new file mode 100644 (file)
index 0000000..eb66f2c
--- /dev/null
@@ -0,0 +1,6 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/xvkbd
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man1/
+-rw-r--r--     root/root       usr/man/man1/xvkbd.1.gz
diff --git a/xvkbd/.md5sum b/xvkbd/.md5sum
new file mode 100644 (file)
index 0000000..9bff041
--- /dev/null
@@ -0,0 +1 @@
+d1905b22bf134b9abba27444adc2bec0  xvkbd-3.1.tar.gz
diff --git a/xvkbd/Pkgfile b/xvkbd/Pkgfile
new file mode 100644 (file)
index 0000000..34a6be0
--- /dev/null
@@ -0,0 +1,25 @@
+# Description: Virtual Keyboard for X Window System
+# URL: http://homepage3.nifty.com/tsato/xvkbd/
+# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
+# Depends on: xorg-libxtst xorg-libxaw
+
+name=xvkbd
+version=3.1
+release=1
+source=(http://homepage3.nifty.com/tsato/xvkbd/xvkbd-3.1.tar.gz)
+
+build() {
+  cd $name-$version
+
+  CFLAGS="$CFLAGS -fno-strict-aliasing"
+  DEFINES="-DUSE_XTEST -Dlinux -D_FILE_OFFSET_BITS=64"
+  INCLUDES="-I. -I$CLFS/usr/include"
+  LIBS="-L$CLFS/usr/lib -lXaw -lXmu -lXt -lXtst -lSM -lICE -lXpm -lXext -lX11"
+  
+  $CC $CFLAGS $INCLUDES $DEFINES -c -o xvkbd.o xvkbd.c
+  $CC $CFLAGS $INCLUDES $DEFINES -c -o findwidget.o findwidget.c
+  $CC $CFLAGS $LIBS -o xvkbd xvkbd.o findwidget.o
+
+  install -D -m 0755 $name $PKG/usr/bin/$name
+  install -D -m 0644 $name.man $PKG/usr/man/man1/$name.1
+}