--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/jconfig.h
+-rw-r--r-- root/root usr/include/jerror.h
+-rw-r--r-- root/root usr/include/jmorecfg.h
+-rw-r--r-- root/root usr/include/jpeglib.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libjpeg.a
+-rwxr-xr-x root/root usr/lib/libjpeg.la
+lrwxrwxrwx root/root usr/lib/libjpeg.so -> libjpeg.so.62.0.0
+lrwxrwxrwx root/root usr/lib/libjpeg.so.62 -> libjpeg.so.62.0.0
+-rwxr-xr-x root/root usr/lib/libjpeg.so.62.0.0
--- /dev/null
+dbd5f3b47ed13132f04c685d608a7547 jpegsrc.v6b.tar.gz
+20335e4295b3424919edb0f7ba75013a libjpeg-6b.cross_compile.patch
--- /dev/null
+# Description: Library of JPEG support functions.
+# URL: http://www.ijg.org/
+# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
+# Arch Maintainer: System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on:
+
+name=libjpeg
+version=6b
+release=1
+source=(ftp://ftp.uni-frankfurt.de/pub/Mirrors2/gentoo.org/distfiles/jpegsrc.v$version.tar.gz \
+ $name-$version.cross_compile.patch)
+
+build() {
+ cd jpeg-$version
+
+ patch -p1 -i $SRC/$name-$version.cross_compile.patch
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --enable-shared \
+ --enable-static
+ make CFLAGS="$CFLAGS" AR="$AR rc"
+ install -d -m 0755 $PKG/usr/{include,lib}
+ make prefix=$PKG/usr install-lib
+}