--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/corrupt_mpeg2
+-rwxr-xr-x root/root usr/bin/extract_mpeg2
+-rwxr-xr-x root/root usr/bin/mpeg2dec
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/mpeg2dec/
+-rw-r--r-- root/root usr/include/mpeg2dec/mpeg2.h
+-rw-r--r-- root/root usr/include/mpeg2dec/mpeg2convert.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libmpeg2.a
+-rwxr-xr-x root/root usr/lib/libmpeg2.la
+lrwxrwxrwx root/root usr/lib/libmpeg2.so -> libmpeg2.so.0.1.0
+lrwxrwxrwx root/root usr/lib/libmpeg2.so.0 -> libmpeg2.so.0.1.0
+-rwxr-xr-x root/root usr/lib/libmpeg2.so.0.1.0
+-rw-r--r-- root/root usr/lib/libmpeg2convert.a
+-rwxr-xr-x root/root usr/lib/libmpeg2convert.la
+lrwxrwxrwx root/root usr/lib/libmpeg2convert.so -> libmpeg2convert.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libmpeg2convert.so.0 -> libmpeg2convert.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libmpeg2convert.so.0.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/libmpeg2.pc
+-rw-r--r-- root/root usr/lib/pkgconfig/libmpeg2convert.pc
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/extract_mpeg2.1.gz
+-rw-r--r-- root/root usr/man/man1/mpeg2dec.1.gz
--- /dev/null
+# Description: MPEG1/MPEG2 decoder (includes libmpeg2)
+# URL: http://libmpeg2.sourceforge.net/
+# Packager: acrux, acrux at linuxmail dot org
+# Maintainer: Thomas Penteker, tek at serverop dot de
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: libsdl xorg-libxv xorg-libsm
+
+name=libmpeg2
+version=0.5.1
+release=1
+source=(http://$name.sourceforge.net/files/$name-$version.tar.gz)
+
+build () {
+ cd $name-$version
+ export LIBVO_CFLAGS="-I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT"
+ export LIBVO_LIBS="-L$CLFS/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread"
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --with-gnu-ld \
+ --enable-shared \
+ --disable-nls \
+ --x-includes=$CLFS/usr/include/X11 \
+ --x-libraries=$CLFS/usr/lib/X11
+
+ make
+ make DESTDIR=$PKG install
+}