[arch-commits] Commit in lib32-curl/repos (3 files)
Felix Yan
fyan at archlinux.org
Sat Oct 10 07:38:33 UTC 2015
Date: Saturday, October 10, 2015 @ 09:38:33
Author: fyan
Revision: 143529
archrelease: copy trunk to multilib-testing-x86_64
Added:
lib32-curl/repos/multilib-testing-x86_64/
lib32-curl/repos/multilib-testing-x86_64/PKGBUILD
(from rev 143528, lib32-curl/trunk/PKGBUILD)
lib32-curl/repos/multilib-testing-x86_64/curlbuild.h
(from rev 143528, lib32-curl/trunk/curlbuild.h)
-------------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
curlbuild.h | 9 ++++++++
2 files changed, 72 insertions(+)
Copied: lib32-curl/repos/multilib-testing-x86_64/PKGBUILD (from rev 143528, lib32-curl/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2015-10-10 07:38:33 UTC (rev 143529)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at aur.archlinux.org>
+# Contributor: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Lucien Immink <l.immink at student.fnt.hvu.nl>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=lib32-curl
+_pkgname=curl
+pkgver=7.45.0
+pkgrel=1
+pkgdesc="An URL retrieval utility and library (32-bit)"
+arch=('x86_64')
+url="http://curl.haxx.se"
+license=('MIT')
+depends=('lib32-libssh2' 'lib32-krb5' 'lib32-libidn' "${_pkgname}")
+source=("http://curl.haxx.se/download/$_pkgname-$pkgver.tar.gz"{,.asc})
+md5sums=('be21c6a190d65cfd3eeb749a3dce3947'
+ 'SKIP')
+ validpgpkeys=('914C533DF9B2ADA2204F586D78E11C6B279D5C91') # Daniel Stenberg
+
+build() {
+ cd "$_pkgname-$pkgver"
+
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --disable-dependency-tracking \
+ --disable-ldap \
+ --disable-ldaps \
+ --enable-ipv6 \
+ --enable-manual \
+ --enable-versioned-symbols \
+ --enable-threaded-resolver \
+ --with-gssapi \
+ --with-libidn \
+ --with-random=/dev/urandom \
+ --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
+ --libdir=/usr/lib32
+
+ make
+}
+
+package() {
+ cd "$_pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ rm -rf "${pkgdir}"/usr/{share,bin}
+
+ # license
+ install -d "$pkgdir/usr/share/licenses"
+ ln -s "$_pkgname" "$pkgdir/usr/share/licenses/$pkgname"
+
+ # devel
+ find "${pkgdir}/usr/include/curl" -type f -not -name curlbuild.h -delete
+ mv "$pkgdir/usr/include/curl/curlbuild.h" "$pkgdir/usr/include/$_pkgname/curlbuild-32.h"
+}
Copied: lib32-curl/repos/multilib-testing-x86_64/curlbuild.h (from rev 143528, lib32-curl/trunk/curlbuild.h)
===================================================================
--- multilib-testing-x86_64/curlbuild.h (rev 0)
+++ multilib-testing-x86_64/curlbuild.h 2015-10-10 07:38:33 UTC (rev 143529)
@@ -0,0 +1,9 @@
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "curlbuild-32.h"
+#elif __WORDSIZE == 64
+#include "curlbuild-64.h"
+#else
+#error "Unknown word size"
+#endif
More information about the arch-commits
mailing list