summaryrefslogtreecommitdiff
path: root/multilib/lib32-libjpeg-turbo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'multilib/lib32-libjpeg-turbo/PKGBUILD')
-rw-r--r--multilib/lib32-libjpeg-turbo/PKGBUILD41
1 files changed, 0 insertions, 41 deletions
diff --git a/multilib/lib32-libjpeg-turbo/PKGBUILD b/multilib/lib32-libjpeg-turbo/PKGBUILD
deleted file mode 100644
index 09102ad96..000000000
--- a/multilib/lib32-libjpeg-turbo/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 48100 2011-05-28 16:27:44Z bluewind $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Contributor: Simone Sclavi 'Ito' <darkhado@gmail.com>
-
-_pkgbasename=libjpeg-turbo
-pkgname=lib32-$_pkgbasename
-pkgver=1.1.1
-pkgrel=1
-pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression (32-bit)"
-arch=('x86_64')
-url="http://libjpeg-turbo.virtualgl.org/"
-license=('GPL' 'custom')
-depends=('lib32-glibc' $_pkgbasename)
-makedepends=('nasm' gcc-multilib)
-provides=('lib32-libjpeg=8.0.2')
-conflicts=('lib32-libjpeg')
-replaces=('lib32-libjpeg')
-options=('!libtool')
-source=(http://sourceforge.net/projects/$_pkgbasename/files/$pkgver/$_pkgbasename-$pkgver.tar.gz)
-md5sums=('03b9c1406c7bfdc204313c2917ce6962')
-
-build() {
- cd "$srcdir/$_pkgbasename-$pkgver"
-
- export CC="gcc -m32"
- export CXX="g++ -m32"
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
- sed -i "s|NAFLAGS='-felf64 -DELF -D__x86_64__'|NAFLAGS='-felf32 -DELF -D__x86_64__'|" configure
- ./configure --prefix=/usr --with-jpeg8 --mandir=/usr/share/man --libdir=/usr/lib32 --without-simd
- make
-}
-
-package() {
- cd "$srcdir/$_pkgbasename-$pkgver"
-
- make DESTDIR="$pkgdir/" install
- rm -rf "${pkgdir}"/usr/{include,share,bin,sbin}
- mkdir -p "$pkgdir/usr/share/licenses"
- ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
-}