diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-07 11:24:34 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-07 11:24:34 -0300 |
commit | a607668699d0ed030ac69ed31969dfa266439e38 (patch) | |
tree | 5b3e076437e78d8624668454afc1d82750d54c8a /core/curl/PKGBUILD | |
parent | 6b015d22b5b59eddb6e8c40989017d8492ac912c (diff) | |
parent | a4d309341dbcd3c28ee68e818c1d5ef54114adf8 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/libraw/PKGBUILD
community-testing/virtualbox-modules/PKGBUILD
community-testing/virtualbox-modules/virtualbox-modules.install
community-testing/virtualbox/PKGBUILD
community-testing/virtualbox/vboxdrv-reference.patch
community-testing/virtualbox/virtualbox.install
community-testing/vtk/PKGBUILD
community/audex/PKGBUILD
community/critter/PKGBUILD
community/egoboo/PKGBUILD
community/fcgiwrap/PKGBUILD
community/hping/PKGBUILD
community/libesmtp/PKGBUILD
community/lockdev/PKGBUILD
community/pidgin-musictracker/PKGBUILD
community/pidgin-otr/PKGBUILD
community/pylibacl/PKGBUILD
community/pypanel/PKGBUILD
community/rdiff-backup/PKGBUILD
community/steghide/PKGBUILD
community/tabbed/PKGBUILD
community/transset-df/PKGBUILD
community/wyrd/PKGBUILD
core/openldap/PKGBUILD
core/sqlite3/PKGBUILD
extra/fltk/PKGBUILD
extra/thunar/PKGBUILD
extra/xfce4-clipman-plugin/PKGBUILD
multilib/lib32-acl/PKGBUILD
multilib/lib32-alsa-oss/PKGBUILD
multilib/lib32-glib2/PKGBUILD
multilib/lib32-libffi/PKGBUILD
multilib/lib32-libmng/PKGBUILD
multilib/lib32-libpciaccess/PKGBUILD
multilib/lib32-libusb-compat/PKGBUILD
multilib/lib32-libusb/PKGBUILD
multilib/wine/PKGBUILD
Diffstat (limited to 'core/curl/PKGBUILD')
-rw-r--r-- | core/curl/PKGBUILD | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/core/curl/PKGBUILD b/core/curl/PKGBUILD index 7a58d6791..b9509ece4 100644 --- a/core/curl/PKGBUILD +++ b/core/curl/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 138015 2011-09-14 11:16:01Z dreisner $ +# $Id: PKGBUILD 142038 2011-11-04 18:42:20Z dreisner $ # Maintainer: Dave Reisner <dreisner@archlinux.org> # Contributor: Angel Velasquez <angvp@archlinux.org> # Contributor: Eric Belanger <eric@archlinux.org> @@ -7,12 +7,13 @@ pkgname=curl pkgver=7.22.0 -pkgrel=1 +pkgrel=4 pkgdesc="An URL retrival utility and library" arch=('i686' 'x86_64' 'mips64el') url="http://curl.haxx.se" license=('MIT') -depends=('zlib' 'openssl' 'bash' 'ca-certificates' 'libssh2') +depends=('ca-certificates' 'libssh2' 'openssl' 'zlib') +makedepends=('perl-libwww') options=('!libtool') source=("http://curl.haxx.se/download/$pkgname-$pkgver.tar.gz"{,.asc} curlbuild.h) @@ -20,11 +21,11 @@ md5sums=('e8c36126d21c893f085aca233906b5cc' '1b061c348b63ea3e90c3f2c3af6a08d6' '751bd433ede935c8fae727377625a8ae') - -case $(cpp <<<'__SIZEOF_POINTER__' | sed '/^#/d') in +ptrsize=$(cpp <<<'__SIZEOF_POINTER__' | sed '/^#/d') +case $ptrsize in 8) _curlbuild=curlbuild-64.h ;; 4) _curlbuild=curlbuild-32.h ;; - *) error "unsupported architecture: %s" "$CARCH" + *) error "unknown pointer size for architecture: %s bytes" "$ptrsize" exit 1 ;; esac @@ -33,18 +34,18 @@ build() { cd "$srcdir/$pkgname-$pkgver" ./configure \ - --with-random=/dev/urandom \ --prefix=/usr \ --mandir=/usr/share/man \ --disable-dependency-tracking \ - --enable-ipv6 \ - --disable-ldaps \ --disable-ldap \ + --disable-ldaps \ + --enable-ipv6 \ --enable-manual \ --enable-versioned-symbols \ - --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \ + --enable-threaded-resolver \ --without-libidn \ - --enable-threaded-resolver + --with-random=/dev/urandom \ + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt make } @@ -53,7 +54,10 @@ package() { make DESTDIR="$pkgdir" install + # license install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + + # devel install -Dm644 docs/libcurl/libcurl.m4 "$pkgdir/usr/share/aclocal/libcurl.m4" mv "$pkgdir/usr/include/curl/curlbuild.h" "$pkgdir/usr/include/curl/$_curlbuild" install -m644 "$srcdir/curlbuild.h" "$pkgdir/usr/include/curl/curlbuild.h" |