Difference between revisions of "PolicyKit"

From CBLFS
Jump to navigationJump to search
Line 62: Line 62:
 
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
 
  ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
     --libdir=/usr/lib32 &&
+
     --libdir=/usr/lib32 --with-pam-module-dir=/lib32/security &&
 
  make
 
  make
  
Line 75: Line 75:
 
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
 
  ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
     --libdir=/usr/lib64 &&
+
     --libdir=/usr/lib64 --with-pam-module-dir=/lib64/security &&
 
  make
 
  make
  

Revision as of 15:28, 3 October 2006

Download Source: (Not Released Yet)

Dependencies

Required

Optional

PolKit User/Group

groupadd -g 17 polkit &&
useradd -c "Policy Kit Daemon User" -d /dev/null \
        -u 17 -g messagebus -s /bin/false polkit

Getting the source

Check out the source from freedesktop.org:

git clone git://anongit.freedesktop.org/git/PolicyKit

It couldn't hurt to make a tarball so you have an unmodified source around for the future:

tar cvjf PolicyKit{.tar.bz2,}

Non-Multilib

Compile the package:

./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    --libdir=/usr/lib32 --with-pam-module-dir=/lib32/security &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    --libdir=/usr/lib64 --with-pam-module-dir=/lib64/security &&
make

Install the package

make install