Dpkg

From CBLFS
Jump to navigationJump to search
Download Source: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_1.15.4.1.tar.gz

Introduction to Dpkg

This package provides the low-level infrastructure for handling the installation and removal of Debian software packages.

Project Homepage: http://wiki.debian.org/Teams/Dpkg

Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib --localstatedir=/var &&
make PERL_LIBDIR=$(perl -V:sitelib | cut -d\' -f2)

Install the package:

make PERL_LIBDIR=$(perl -V:sitelib | cut -d\' -f2) install

Multilib

64Bit

Compile the package:

export USE_ARCH=64 &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib64 --localstatedir=/var &&
make PERL_LIBDIR=$(perl -V:sitelib | cut -d\' -f2)

Install the package:

make PERL_LIBDIR=$(perl -V:sitelib | cut -d\' -f2) install &&
unset USE_ARCH