CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-libxcursor: initial import (verified compilation)
[attic/ports/xorg-cross.git] / xorg-xf86-video-fbdev / Pkgfile
CommitLineData
ff531006
JB
1# Description: xorg driver xf86-video-fbdev
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 dyndns dot org
5# Depends on: xorg-server
6
7name=xorg-xf86-video-fbdev
8version=0.4.1
9release=1
10source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-video-fbdev-$version.tar.bz2)
11
12build() {
13 cd xf86-video-fbdev-$version
14
15 export DEFAULT_LIBS="-L$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules"
16 export DEFAULT_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
ff531006
JB
17 export XORG_LIBS="$DEFAULT_LIBS -lXfont -lXrender -lXau -lpixman-1 -lXdmcp -lXv -lcrypt"
18 export XORG_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/xorg -fvisibility=hidden -DRENDER -DRANDR -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/pixman-1"
19 export PCIACCESS_LIBS="$DEFAULT_LIBS"
20 export PCIACCESS_CFLAGS="$DEFAULT_CFLAGS"
21
22 ./configure --build=$CHOST \
23 --host=$CTARGET \
24 --prefix=/usr \
25 --mandir=/usr/man
26
27 make
28 make DESTDIR=$PKG install
29}