[arch-commits] Commit in lib32-libtiff4 (3 files)
Maxime Gauduin
alucryd at archlinux.org
Sat Aug 20 09:10:56 UTC 2016
Date: Saturday, August 20, 2016 @ 09:10:56
Author: alucryd
Revision: 187147
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libtiff4/repos/
lib32-libtiff4/repos/multilib-x86_64/
lib32-libtiff4/repos/multilib-x86_64/PKGBUILD
(from rev 187146, lib32-libtiff4/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: lib32-libtiff4/repos/multilib-x86_64/PKGBUILD (from rev 187146, lib32-libtiff4/trunk/PKGBUILD)
===================================================================
--- repos/multilib-x86_64/PKGBUILD (rev 0)
+++ repos/multilib-x86_64/PKGBUILD 2016-08-20 09:10:56 UTC (rev 187147)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: lorim <lorimz at gmail.com>
+
+pkgname=lib32-libtiff4
+pkgver=3.9.7
+pkgrel=1
+pkgdesc='Library for manipulation of TIFF images'
+arch=('x86_64')
+url='http://www.remotesensing.org/libtiff/'
+license=('custom')
+depends=('lib32-gcc-libs' 'lib32-glibc' 'lib32-libjpeg-turbo' 'lib32-zlib')
+makedepends=('gcc-multilib')
+source=("http://download.osgeo.org/libtiff/tiff-${pkgver}.tar.gz")
+sha256sums=('f5d64dd4ce61c55f5e9f6dc3920fbe5a41e02c2e607da7117a35eb5c320cef6a')
+
+build() {
+ cd tiff-${pkgver}
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ ./configure \
+ --prefix='/usr' \
+ --libdir='/usr/lib32'
+ make
+}
+
+package() {
+ cd tiff-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/{bin,include,lib32/libtiff{,xx}.{so,a},share}
+ mv "${pkgdir}"/usr/lib32/libtiff.so.{3,4}
+ mv "${pkgdir}"/usr/lib32/libtiffxx.so.{3,4}
+
+ install -dm 755 "${pkgdir}"/usr/share/licenses
+ ln -s libtiff4 "${pkgdir}"/usr/share/licenses/lib32-libtiff4
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list