From 715631caf52784c47c8ed3aeb6cbdba2715a08db Mon Sep 17 00:00:00 2001 From: root Date: Sun, 26 Jun 2011 23:06:14 +0000 Subject: Sun Jun 26 23:06:14 UTC 2011 --- extra/libjpeg-turbo/PKGBUILD | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'extra/libjpeg-turbo/PKGBUILD') diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD index 3623e1dd5..96e9e69b5 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 # Contributor: Simone Sclavi 'Ito' 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') 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" } -- cgit v1.2.3-54-g00ecf