Difference between revisions of "Attr"

From CBLFS
Jump to navigationJump to search
Line 7: Line 7:
 
----
 
----
  
== Introduction to Attr ==
+
{{Blank-Package-Introduction}}
 
 
<Package Description Needed>
 
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 12:40, 16 April 2007

Download Source: ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_2.4.46.tar.gz

Introduction to Attr

Project Homepage: Unknown

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 ???