CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-libxv: initial import (verified compilation)
[attic/ports/xorg-cross.git] / xorg-libxv / Pkgfile
CommitLineData
96970b4d
JB
1# Description: X Video extension client library
2# URL: http://xorg.freedesktop.org
3# Maintainer: Tilman Sauerbeck tilman at crux dot nu
4# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
5# Depends on: xorg-libx11 xorg-libxext xorg-videoproto
6
7name=xorg-libxv
8version=1.0.5
9release=1
10source=(http://xorg.freedesktop.org/releases/individual/lib/libXv-$version.tar.bz2)
11
12build() {
13 cd libXv-$version
14
15 export XV_LIBS="-L\$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules -lX11 -lXext"
16 export XV_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}