Attr

From CBLFS
Revision as of 09:21, 16 December 2006 by Jim (talk | contribs)
Jump to navigationJump to search
Download Source: ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_2.4.46.tar.gz

Introduction to Attr

<Package Description Needed>

Dependencies

Non-Multilib

Compile the package:

autoconf &&
sed -i Makefile \
   -e '/autoconf/d' \
   -e 's@default: $(CONFIGURE)@default:@' &&
./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
  --bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \
  --mandir=/usr/share/man --datadir=/usr/share &&
make

Install the package

make install install-dev install-lib &&
LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
chmod 755 -v /lib/${LIBNAME}

Multilib

32Bit

Compile the package:

autoconf &&
sed -i Makefile \
   -e '/autoconf/d' \
   -e 's@default: $(CONFIGURE)@default:@' &&
CC="gcc ${BUILD32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
  --bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \
  --mandir=/usr/share/man --datadir=/usr/share &&
make

Install the package:

make install install-dev install-lib &&
LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
chmod 755 -v /lib/${LIBNAME}

N32

Compile the package:

autoconf &&
sed -i Makefile \
   -e '/autoconf/d' \
   -e 's@default: $(CONFIGURE)@default:@' &&
CC="gcc ${BUILDN32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
  --bindir=/usr/sbin --libdir=/lib32 --libexecdir=/usr/lib32 --includedir=/usr/include \
  --mandir=/usr/share/man --datadir=/usr/share &&
make

Install the package:

make install install-dev install-lib &&
LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
chmod 755 -v /lib32/${LIBNAME}

64Bit

Compile the package:

autoconf &&
sed -i Makefile \
   -e '/autoconf/d' \
   -e 's@default: $(CONFIGURE)@default:@' &&
CC="gcc ${BUILD64}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
  --bindir=/usr/sbin --libdir=/lib64 --libexecdir=/usr/lib64 --includedir=/usr/include \
  --mandir=/usr/share/man --datadir=/usr/share &&
make

Install the package:

make install install-dev install-lib &&
LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
chmod 755 -v /lib64/${LIBNAME}


Contents

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

Short Descriptions

program1 ???
program2 ???
Retrieved from "?title=Attr&oldid=4684"