summaryrefslogtreecommitdiff
path: root/extra/libjpeg-turbo
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-27 22:08:34 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-27 22:08:34 -0500
commitbe6c1245520a53bf43513cdde697a09b90e62361 (patch)
tree13cb12f2b23e886d5d1c9ccdf447cfe24808aed8 /extra/libjpeg-turbo
parenteadaf245dcd43f5a3b33585ff80fdae7e64f850b (diff)
parent0a595245dd258cc0ad9a5de2b292cf1b1a94f51a (diff)
merged pre master
Diffstat (limited to 'extra/libjpeg-turbo')
-rw-r--r--extra/libjpeg-turbo/PKGBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD
index 742e73b6b..330136d46 100644
--- a/extra/libjpeg-turbo/PKGBUILD
+++ b/extra/libjpeg-turbo/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 124693 2011-05-24 03:40:20Z eric $
+# $Id: PKGBUILD 129225 2011-06-26 02:06:08Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Simone Sclavi 'Ito' <darkhado@gmail.com>
pkgname=libjpeg-turbo
pkgver=1.1.1
-pkgrel=1
+pkgrel=3
pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression"
arch=('i686' 'x86_64' 'mips64el')
url="http://libjpeg-turbo.virtualgl.org/"
@@ -29,5 +29,14 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
+
+ # provide jpegint.h as it is required by various software
+ install -m644 jpegint.h $pkgdir/usr/include/
+
+ # do not distributre libturbojpeg as it is unversioned
+ rm $pkgdir/usr/lib/libturbojpeg.{so,a}
+ rm $pkgdir/usr/include/turbojpeg.h
+ rm $pkgdir/usr/bin/jpgtest
+
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/libjpeg-turbo/LICENSE"
}