CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-xev: initial import (verified compilation)
[attic/ports/xorg-cross.git] / xorg-libxdmcp / Pkgfile
1 # Description: xorg lib libXdmcp
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-xproto
6
7 name=xorg-libxdmcp
8 version=1.0.3
9 release=1
10 source=(http://xorg.freedesktop.org/releases/individual/lib/libXdmcp-$version.tar.bz2)
11
12 build() {
13 cd libXdmcp-$version
14
15 export X11_LIBS="-L$CLFS/usr/lib"
16 export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
17 export XPROTO_LIBS="$X11_LIBS"
18 export XPROTO_CFLAGS="$X11_CFLAGS"
19 export XDMCP_LIBS="$X11_LIBS"
20 export XDMCP_CFLAGS="$X11_CFLAGS"
21
22 ./configure --build=$CHOST \
23 --host=$CTARGET \
24 --prefix=/usr
25
26 make
27 make DESTDIR=$PKG install
28 }