--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/X11/
+drwxr-xr-x root/root usr/include/X11/extensions/
+-rw-r--r-- root/root usr/include/X11/extensions/Xvlib.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libXv.a
+-rwxr-xr-x root/root usr/lib/libXv.la
+lrwxrwxrwx root/root usr/lib/libXv.so -> libXv.so.1.0.0
+lrwxrwxrwx root/root usr/lib/libXv.so.1 -> libXv.so.1.0.0
+-rwxr-xr-x root/root usr/lib/libXv.so.1.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/xv.pc
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man3/
+-rw-r--r-- root/root usr/man/man3/Xv.3.gz
+-rw-r--r-- root/root usr/man/man3/XvCreateImage.3.gz
+-rw-r--r-- root/root usr/man/man3/XvFreeAdaptorInfo.3.gz
+-rw-r--r-- root/root usr/man/man3/XvFreeEncodingInfo.3.gz
+-rw-r--r-- root/root usr/man/man3/XvGetPortAttribute.3.gz
+-rw-r--r-- root/root usr/man/man3/XvGetStill.3.gz
+-rw-r--r-- root/root usr/man/man3/XvGetVideo.3.gz
+-rw-r--r-- root/root usr/man/man3/XvGrabPort.3.gz
+-rw-r--r-- root/root usr/man/man3/XvListImageFormats.3.gz
+-rw-r--r-- root/root usr/man/man3/XvPortNotify.3.gz
+-rw-r--r-- root/root usr/man/man3/XvPutImage.3.gz
+-rw-r--r-- root/root usr/man/man3/XvPutStill.3.gz
+-rw-r--r-- root/root usr/man/man3/XvPutVideo.3.gz
+-rw-r--r-- root/root usr/man/man3/XvQueryAdaptors.3.gz
+-rw-r--r-- root/root usr/man/man3/XvQueryBestSize.3.gz
+-rw-r--r-- root/root usr/man/man3/XvQueryEncodings.3.gz
+-rw-r--r-- root/root usr/man/man3/XvQueryExtension.3.gz
+-rw-r--r-- root/root usr/man/man3/XvQueryPortAttributes.3.gz
+-rw-r--r-- root/root usr/man/man3/XvSelectPortNotify.3.gz
+-rw-r--r-- root/root usr/man/man3/XvSelectVideoNotify.3.gz
+-rw-r--r-- root/root usr/man/man3/XvSetPortAttribute.3.gz
+-rw-r--r-- root/root usr/man/man3/XvShmCreateImage.3.gz
+-rw-r--r-- root/root usr/man/man3/XvShmPutImage.3.gz
+-rw-r--r-- root/root usr/man/man3/XvStopVideo.3.gz
+-rw-r--r-- root/root usr/man/man3/XvUngrabPort.3.gz
+-rw-r--r-- root/root usr/man/man3/XvVideoNotify.3.gz
--- /dev/null
+# Description: X Video extension client library
+# URL: http://xorg.freedesktop.org
+# Maintainer: Tilman Sauerbeck tilman at crux dot nu
+# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
+# Depends on: xorg-libx11 xorg-libxext xorg-videoproto
+
+name=xorg-libxv
+version=1.0.5
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/lib/libXv-$version.tar.bz2)
+
+build() {
+ cd libXv-$version
+
+ export XV_LIBS="-L\$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules -lX11 -lXext"
+ export XV_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --enable-malloc0returnsnull
+
+ make
+ make DESTDIR=$PKG install
+}