CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Major update for Arch-Maintainer's email (all ports)
[attic/ports/xorg-cross.git] / xorg-libxxf86dga / Pkgfile
CommitLineData
fcaccd6e
JB
1# Description: xorg lib libXxf86dga
2# URL: http://xorg.freedesktop.org
3# Maintainer: Tilman Sauerbeck tilman at crux dot nu
179188a5 4# Arch Maintainer System Team devel@crux-arm.nu
fcaccd6e
JB
5# Depends on: xorg-xproto xorg-libx11 xorg-libxext xorg-xf86dgaproto
6
7name=xorg-libxxf86dga
8version=1.1.1
9release=1
10source=(http://xorg.freedesktop.org/releases/individual/lib/libXxf86dga-$version.tar.bz2)
11
12build() {
13 cd libXxf86dga-$version
14
15 export XXF86DGA_LIBS="-L$CLFS/usr/lib -lX11 -lXext"
16 export XXF86DGA_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 --enable-malloc0returnsnull
23
24 make
25 make DESTDIR=$PKG install
26}