Difference between revisions of "Curl"
From CBLFS
Jump to navigationJump to searchm |
(→Multilib) |
||
Line 52: | Line 52: | ||
make install && | make install && | ||
− | mv -v /usr/bin/curl-config{,-32} | + | mv -v /usr/bin/curl-config{,-32} |
− | |||
=== N32 === | === N32 === | ||
Line 66: | Line 65: | ||
make install && | make install && | ||
− | mv -v /usr/bin/curl-config{,-n32} | + | mv -v /usr/bin/curl-config{,-n32} |
− | |||
=== 64Bit === | === 64Bit === |
Revision as of 12:18, 23 September 2007
Download Source: | http://curl.haxx.se/download/curl-7.29.0.tar.bz2 |
---|
Contents
Introduction to Curl
Project Homepage: Unknown
Dependencies
Optional
- pkg-config
- OpenSSL or GnuTLS
- OpenLDAP
- libidn
- MIT krb5 or Heimdal
- kdb4
- SPNEGO
- c-ares
- libssh2 (For SSH (SCP and SFTP) support, added in curl 7.16.1)
Optional (For The Testsuite)
Non-Multilib
Configure and compile the package:
./configure --prefix=/usr && make
Install the package:
make install find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm && install -v -d -m755 /usr/share/doc/curl-7.29.0 && cp -v -R docs/* /usr/share/doc/curl-7.29.0
Multilib
32Bit
Configure and compile the package:
CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ ./configure --prefix=/usr && make
Install the package:
make install && mv -v /usr/bin/curl-config{,-32}
N32
Configure and compile the package:
CC="gcc ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ ./configure --prefix=/usr --libdir=/usr/lib32 && make
Install the package:
make install && mv -v /usr/bin/curl-config{,-n32}
64Bit
Configure and compile the package:
CC="gcc ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ ./configure --prefix=/usr --libdir=/usr/lib64 && make
Install the package:
make install && mv -v /usr/bin/curl-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/curl-config && find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm && install -v -d -m755 /usr/share/doc/curl-7.29.0 && cp -v -R docs/* /usr/share/doc/curl-7.29.0