Difference between revisions of "Curl"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://curl.haxx.se/download/curl-7.15.5.tar.bz2
+
| http://curl.haxx.se/download/curl-{{Curl-Version}}.tar.bz2
 
|}
 
|}
  
Line 37: Line 37:
 
  make install
 
  make install
 
  find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm &&
 
  find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm &&
  install -v -d -m755 /usr/share/doc/curl-7.15.5 &&
+
  install -v -d -m755 /usr/share/doc/curl-{{Curl-Version}} &&
  cp -v -R docs/* /usr/share/doc/curl-7.15.5
+
  cp -v -R docs/* /usr/share/doc/curl-{{Curl-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 84: Line 84:
 
  ln -sfv multiarch_wrapper /usr/bin/curl-config &&
 
  ln -sfv multiarch_wrapper /usr/bin/curl-config &&
 
  find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm &&
 
  find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm &&
  install -v -d -m755 /usr/share/doc/curl-7.15.5 &&
+
  install -v -d -m755 /usr/share/doc/curl-{{Curl-Version}} &&
  cp -v -R docs/* /usr/share/doc/curl-7.15.5
+
  cp -v -R docs/* /usr/share/doc/curl-{{Curl-Version}}
 
 
*[[Net Utilities]]
 
*[[Main Page]]
 

Revision as of 16:01, 17 December 2006

Download Source: http://curl.haxx.se/download/curl-7.29.0.tar.bz2

Introduction to CURL

The CURL package contains curl and its support library. This is useful for transferring files with URL syntax. This ability to both download and redirect files can be incorporated into other programs to support functions like streaming media.

Dependencies

Optional

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} &&
find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm

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} &&
find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm

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
Retrieved from "?title=Curl&oldid=5532"