CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-xmodmap: initial import (verified compilation)
[attic/ports/xorg-cross.git] / xorg-libxrender / Pkgfile
CommitLineData
e529c563
JB
1# Depends on: xorg-libx11, xorg-renderproto
2# Description: X Render extension client library
3# URL: http://xorg.freedesktop.org
4# Maintainer: Tilman Sauerbeck tilman at crux dot nu
5# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
6# Depends on: xorg-libx11 xorg-renderproto
7
8name=xorg-libxrender
9version=0.9.5
5129ec09 10release=2
e529c563
JB
11source=(http://xorg.freedesktop.org/releases/individual/lib/libXrender-$version.tar.bz2)
12
13build() {
14 cd libXrender-$version
15
5129ec09 16 export X11_LIBS="-L$CLFS/usr/lib -lX11"
e529c563
JB
17 export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
18 export RENDER_LIBS="$X11_LIBS"
19 export RENDER_CFLAGS="$X11_CFLAGS"
20
21
22 ./configure --build=$CHOST \
23 --host=$CTARGET \
24 --prefix=/usr \
25 --enable-malloc0returnsnull
26
27 make
28 make DESTDIR=$PKG install
29
30 rm -rf $PKG/usr/share
31}