HAL

From CBLFS
Revision as of 18:08, 3 October 2006 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: http://people.freedesktop.org/~david/dist/hal-0.5.8.1.tar.gz

Dependencies

Required

Reccomended

Optional

HalDaemon User/Group

groupadd -g 19 haldaemon &&
useradd -c "HAL Daemon User" -d /dev/null \
        -u 19 -g messagebus -s /bin/false polkit

Configuration Information

If you have Parted installed and you would like to link HAL against libparted pass the following to configure:

--enable-parted

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc \
    --libexecdir=/usr/lib/hal --localstatedir=/var &&
make

Install the package

make install &&
install -v -m755 -d /var/run/hald

Multilib

32Bit

Compile the package:

export USE_ARCH=32 &&
CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --libexecdir=/usr/lib/hal --localstatedir=/var &&
make

Install the package

make install &&
unset USE_ARCH

N32

export USE_ARCH=n32 &&
CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 \
    --libexecdir=/usr/lib32/hal --localstatedir=/var &&
make

Install the package

make install &&
unset USE_ARCH

64Bit

export USE_ARCH=64 &&
CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 \
    --libexecdir=/usr/lib64/hal --localstatedir=/var &&
make

Install the package

make install &&
unset USE_ARCH &&
install -v -m755 -d /var/run/hald