Difference between revisions of "Libuser"

From CBLFS
Jump to navigationJump to search
(Required)
Line 38: Line 38:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "/^all:.*libuser/d" docs/Makefile.in &&
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
 
  make
 
  make
Line 51: Line 52:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "/^all:.*libuser/d" docs/Makefile.in &&
 
  CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
Line 63: Line 65:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "/^all:.*libuser/d" docs/Makefile.in &&
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 &&
 
  ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 &&
Line 75: Line 78:
 
Compile the package:
 
Compile the package:
  
 +
sed -i "/^all:.*libuser/d" docs/Makefile.in &&
 
  CC="gcc ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  CC="gcc ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 &&
 
  ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 &&

Revision as of 11:24, 23 December 2006

Download Source: http://mirrors.dotsrc.org/fedora/development/source/SRPMS/libuser-0.56.16-2.src.rpm

Introduction to Libuser

<Package Description Needed>

Extracting the RPM

An extracted package can be downloaded from: http://cross-lfs.org/~jciccone/libuser-0.56.16.tar.gz

Make sure that you have rpm2cpio and Cpio installed. This is not the only way to extract the tarball. If you know of a better way that has almost no dependencies, By all means add it.

rpm2cpio libuser-0.56.16-2.src.rpm | cpio -d -i

The above command will create 2 files. libuser-0.56.16.tar.gz and libuser.spec. It is safe to delete libuser.spec

Dependencies

Required

Optional

Non-Multilib

Compile the package:

sed -i "/^all:.*libuser/d" docs/Makefile.in &&
./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

sed -i "/^all:.*libuser/d" docs/Makefile.in &&
CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

N32

Compile the package:

sed -i "/^all:.*libuser/d" docs/Makefile.in &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

sed -i "/^all:.*libuser/d" docs/Makefile.in &&
CC="gcc ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 &&
make

Install the package

make install

Contents

Installed Programs: ???
Installed Libraries: ???
Installed Directory: ???

Short Descriptions

program1 ???
program2 ???