CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-xf86bigfontproto: fixed installation files
[attic/ports/xorg-cross.git] / xorg-libx11 / Pkgfile
CommitLineData
7e09198c
JB
1# Description: X client library
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-libxcb xorg-xextproto xorg-xtrans org-kbproto xorg-inputproto
6
7name=xorg-libx11
8version=1.3.2
8cfcc389 9release=2
7e09198c
JB
10source=(http://xorg.freedesktop.org/releases/individual/lib/libX11-$version.tar.bz2)
11
12build() {
13 cd libX11-$version
14
15 sed -i configure \
16 -e "s|KEYSYMDEF=.*|KEYSYMDEF=\"$CLFS/usr/include/X11/keysymdef.h\"|"
17
8cfcc389 18 export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs -lxcb "
7e09198c 19 export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
8cfcc389 20 export X11_CFLAGS="$X11_CFLAGS -I$CLFS/usr/include/X11/Xtrans"
7e09198c
JB
21 export XPROTO_LIBS="$X11_LIBS"
22 export XPROTO_CFLAGS="$X11_CFLAGS"
23 export XKBPROTO_LIBS="$X11_LIBS"
24 export XKBPROTO_CFLAGS="$X11_CFLAGS"
8cfcc389 25 export XDMCP_LIBS="$X11_LIBS -lXdmcp"
7e09198c
JB
26 export XDMCP_CFLAGS="$X11_CFLAGS"
27
28 ./configure --build=$CHOST \
29 --host=$CTARGET \
30 --prefix=/usr \
31 --mandir=/usr/man \
32 --enable-malloc0returnsnull
33
34 make
35 make DESTDIR=$PKG install
36
37 rm -rf $PKG/usr/share/doc
38}