CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-libxmu: fixed XMMU's flags
[attic/ports/xorg-cross.git] / xorg-libxdamage / Pkgfile
CommitLineData
cdabd6b7
JB
1# Description: X Damage extension 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-libx11 xorg-fixesproto xorg-libxfixes xorg-xextproto xorg-damageproto
6
7name=xorg-libxdamage
8version=1.1.2
9release=1
10source=(http://xorg.freedesktop.org/releases/individual/lib/libXdamage-$version.tar.bz2)
11
12build() {
13 cd libXdamage-$version
14
15 export DEFAULT_LIBS="-L$CLFS/usr/lib"
16 export DEFAULT_CFLAGS="-I$CLFS/usr/include"
17 export XDAMAGE_LIBS="$DEFAULT_LIBS"
18 export XDAMAGE_CFLAGS="$DEFAULT_CFLAGS"
19
20 ./configure --build=$CHOST \
21 --host=$CTARGET \
22 --prefix=/usr
23
24 make
25 make DESTDIR=$PKG install
26}