Commit | Line | Data |
---|---|---|
1abeb21e JB |
1 | # Description: Set the keyboard using the X Keyboard Extension |
2 | # URL: http://xorg.freedesktop.org | |
3 | # Maintainer: Tilman Sauerbeck tilman at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
5 | # Depends on: xorg-libx11 xorg-libxkbfile | |
6 | ||
7 | name=xorg-setxkbmap | |
8 | version=1.1.0 | |
9 | release=1 | |
10 | source=(http://xorg.freedesktop.org/releases/individual/app/setxkbmap-$version.tar.bz2) | |
11 | ||
12 | build() { | |
13 | cd setxkbmap-$version | |
14 | ||
15 | export SETXKBMAP_LIBS="-L$CLFS/usr/lib -lxkbfile -lX11" | |
16 | export SETXKBMAP_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" | |
17 | ||
18 | ./configure --build=$CHOST \ | |
19 | --host=$CTARGET \ | |
20 | --prefix=/usr \ | |
21 | --mandir=/usr/man | |
22 | ||
23 | make | |
24 | make DESTDIR=$PKG install | |
25 | } |