Commit | Line | Data |
---|---|---|
b4e61b8a JB |
1 | # Description: Virtual Keyboard for X Window System |
2 | # URL: http://homepage3.nifty.com/tsato/xvkbd/ | |
38b50d66 | 3 | # Arch Maintainer System Team devel at crux-arm dot nu |
b4e61b8a JB |
4 | # Depends on: xorg-libxtst xorg-libxaw |
5 | ||
6 | name=xvkbd | |
7 | version=3.1 | |
8 | release=1 | |
9 | source=(http://homepage3.nifty.com/tsato/xvkbd/xvkbd-3.1.tar.gz) | |
10 | ||
11 | build() { | |
12 | cd $name-$version | |
13 | ||
14 | CFLAGS="$CFLAGS -fno-strict-aliasing" | |
15 | DEFINES="-DUSE_XTEST -Dlinux -D_FILE_OFFSET_BITS=64" | |
16 | INCLUDES="-I. -I$CLFS/usr/include" | |
17 | LIBS="-L$CLFS/usr/lib -lXaw -lXmu -lXt -lXtst -lSM -lICE -lXpm -lXext -lX11" | |
18 | ||
19 | $CC $CFLAGS $INCLUDES $DEFINES -c -o xvkbd.o xvkbd.c | |
20 | $CC $CFLAGS $INCLUDES $DEFINES -c -o findwidget.o findwidget.c | |
21 | $CC $CFLAGS $LIBS -o xvkbd xvkbd.o findwidget.o | |
22 | ||
23 | install -D -m 0755 $name $PKG/usr/bin/$name | |
24 | install -D -m 0644 $name.man $PKG/usr/man/man1/$name.1 | |
25 | } |