diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/libjpeg-turbo |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/libjpeg-turbo')
-rw-r--r-- | extra/libjpeg-turbo/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD new file mode 100644 index 000000000..3e7cd9f75 --- /dev/null +++ b/extra/libjpeg-turbo/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 111658 2011-02-28 03:23:17Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: Simone Sclavi 'Ito' <darkhado@gmail.com> + +pkgname=libjpeg-turbo +pkgver=1.1.0 +pkgrel=1 +pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression" +arch=('i686' 'x86_64') +url="http://libjpeg-turbo.virtualgl.org/" +license=('GPL' 'custom') +makedepends=('nasm') +provides=('libjpeg=8.0.2') +conflicts=('libjpeg') +replaces=('libjpeg') +options=('!libtool') +source=(http://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$pkgver.tar.gz) +md5sums=('83e6914a281d649ad289445dc20f9de4') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --with-jpeg8 --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/libjpeg-turbo/LICENSE +} + |