Difference between revisions of "Curl"

From CBLFS
Jump to navigationJump to search
Line 42: Line 42:
 
Configure and compile the package:
 
Configure and compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 +
./configure --prefix=/usr &&
 
  make
 
  make
  
Line 54: Line 55:
 
Configure and compile the package:
 
Configure and compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
+
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 +
./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
  
Line 66: Line 68:
 
Configure and compile the package:
 
Configure and compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
+
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 +
./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
  

Revision as of 19:20, 23 September 2006

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

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.15.3 &&
cp -v -R docs/* /usr/share/doc/curl-7.15.3

Multilib

32Bit

Configure and compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package:

make install &&
find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm

N32

Configure and compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install &&
find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm

64Bit

Configure and compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
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.15.3 &&
cp -v -R docs/* /usr/share/doc/curl-7.15.3
Retrieved from "?title=Curl&oldid=2023"