From 7d8f0610635be8828158e82cc850d7718aefa2f5 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Mon, 21 Dec 2009 12:24:27 +0100 Subject: [PATCH] libjpeg: initial import (verified compilation with my own patch) --- libjpeg/.footprint | 12 ++++++++++++ libjpeg/.md5sum | 2 ++ libjpeg/Pkgfile | 26 ++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 libjpeg/.footprint create mode 100644 libjpeg/.md5sum create mode 100644 libjpeg/Pkgfile diff --git a/libjpeg/.footprint b/libjpeg/.footprint new file mode 100644 index 0000000..fd4fc83 --- /dev/null +++ b/libjpeg/.footprint @@ -0,0 +1,12 @@ +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 diff --git a/libjpeg/.md5sum b/libjpeg/.md5sum new file mode 100644 index 0000000..c9f3c72 --- /dev/null +++ b/libjpeg/.md5sum @@ -0,0 +1,2 @@ +dbd5f3b47ed13132f04c685d608a7547 jpegsrc.v6b.tar.gz +20335e4295b3424919edb0f7ba75013a libjpeg-6b.cross_compile.patch diff --git a/libjpeg/Pkgfile b/libjpeg/Pkgfile new file mode 100644 index 0000000..924aeec --- /dev/null +++ b/libjpeg/Pkgfile @@ -0,0 +1,26 @@ +# 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 +} -- 2.26.2