Libdownload: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 25: Line 25:
Compile the package:
Compile the package:


  make CC="gcc ${BUILD32}" LDFLAGS="${LD_BUILD32}" LD=ld
  make CC="gcc ${BUILD32} -fPIC" LD="gcc ${BUILD32}"


Install the package:
Install the package:
Line 39: Line 39:
Compile the package:
Compile the package:


  make CC="gcc ${BUILDN32}" LDFLAGS="${LD_BUILDN32}" LD=ld
  make CC="gcc ${BUILDN32} -fPIC" LD="gcc ${BUILDN32}"


Install the package:
Install the package:
Line 53: Line 53:
Compile the package:
Compile the package:


  make CC="gcc ${BUILD64} -fPIC"
  make CC="gcc ${BUILD64} -fPIC" LD="gcc ${BUILD64}"


Install the package:
Install the package:

Latest revision as of 03:20, 5 July 2009

Download Source: http://ftp.uni-kl.de/pub/linux/archlinux/other/libdownload/libdownload-1.3.tar.gz

Introduction to Libdownload

URL based download library, forked from libfetch.

Project Homepage: http://phraktured.net/libdownload/

Non-Multilib

Compile the package:

make

Install the package:

make install

Multilib

32Bit

Compile the package:

make CC="gcc ${BUILD32} -fPIC" LD="gcc ${BUILD32}"

Install the package:

make install

N32

Fix the Makefile to ensure libraries are installed in the correct location.

sed -i 's@/lib/@/lib32/@' Makefile

Compile the package:

make CC="gcc ${BUILDN32} -fPIC" LD="gcc ${BUILDN32}"

Install the package:

make install

64Bit

Fix the Makefile to ensure libraries are installed in the correct location.

sed -i 's@/lib/@/lib64/@' Makefile

Compile the package:

make CC="gcc ${BUILD64} -fPIC" LD="gcc ${BUILD64}"

Install the package:

make install

Contents

Installed Directories: None
Installed Programs: None
Installed Libraries: libdownload.{a,so}

Short Descriptions

libdownload