Difference between revisions of "Attr"

From CBLFS
Jump to navigationJump to search
Line 16: Line 16:
  
 
Compile the package:
 
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
 
  make
  
Line 22: Line 29:
  
 
  make install install-dev install-lib &&
 
  make install install-dev install-lib &&
  chmod 755 -v /lib/libattr.so.1.1.0
+
LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
 +
  chmod 755 -v /lib/${LIBNAME}
  
 
== Multilib ==
 
== Multilib ==
Line 28: Line 36:
 
=== 32Bit ===
 
=== 32Bit ===
  
Create a libtool:
+
Compile the package:
  
sed -i "/AC_MULTILIB/i\AC_PROG_LIBTOOL" configure.in &&
 
aclocal -I m4 &&
 
 
  autoconf &&
 
  autoconf &&
  libtoolize
+
  sed -i Makefile \
 
+
    -e '/autoconf/d' \
Compile the package:
+
    -e 's@default: $(CONFIGURE)@default:@' &&
 
+
  CC="gcc ${BUILD32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
  CC="gcc ${BUILD32}" ./configure --prefix=/ --exec-prefix=/ \
+
  --bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \
    --sbindir=/bin --bindir=/usr/bin --libdir=/lib \
+
  --mandir=/usr/share/man --datadir=/usr/share &&
    --libexecdir=/usr/lib --includedir=/usr/include \
+
  make
    --mandir=/usr/share/man --datadir=/usr/share &&
 
  make top_builddir=$PWD
 
  
 
Install the package:
 
Install the package:
  
  make top_builddir=$PWD install install-dev install-lib &&
+
  make install install-dev install-lib &&
  chmod 755 -v /lib/libattr.so.1.1.0
+
LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
 +
  chmod 755 -v /lib/${LIBNAME}
  
 
=== N32 ===
 
=== N32 ===
  
Create a libtool:
+
Compile the package:
  
sed -i "/AC_MULTILIB/i\AC_PROG_LIBTOOL" configure.in &&
 
aclocal -I m4 &&
 
 
  autoconf &&
 
  autoconf &&
  libtoolize
+
  sed -i Makefile \
 
+
    -e '/autoconf/d' \
Compile the package:
+
    -e 's@default: $(CONFIGURE)@default:@' &&
 
+
  CC="gcc ${BUILDN32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
  CC="gcc ${BUILDN32}" ./configure --prefix=/ --exec-prefix=/ \
+
  --bindir=/usr/sbin --libdir=/lib32 --libexecdir=/usr/lib32 --includedir=/usr/include \
    --sbindir=/bin --bindir=/usr/bin --libdir=/lib32 \
+
  --mandir=/usr/share/man --datadir=/usr/share &&
    --libexecdir=/usr/lib32 --includedir=/usr/include \
+
  make
    --mandir=/usr/share/man --datadir=/usr/share &&
 
  make top_builddir=$PWD
 
  
 
Install the package:
 
Install the package:
  
  make top_builddir=$PWD install install-dev install-lib &&
+
  make install install-dev install-lib &&
  chmod 755 -v /lib32/libattr.so.1.1.0
+
LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
 +
  chmod 755 -v /lib32/${LIBNAME}
  
 
=== 64Bit ===
 
=== 64Bit ===
  
Create a libtool:
+
Compile the package:
  
sed -i "/AC_MULTILIB/i\AC_PROG_LIBTOOL" configure.in &&
 
aclocal -I m4 &&
 
 
  autoconf &&
 
  autoconf &&
  libtoolize
+
  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
  
Compile the package:
+
Install the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/ --exec-prefix=/ \
+
  make install install-dev install-lib &&
    --sbindir=/bin --bindir=/usr/bin --libdir=/lib64 \
+
LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
    --libexecdir=/usr/lib64 --includedir=/usr/include \
+
chmod 755 -v /lib64/${LIBNAME}
    --mandir=/usr/share/man --datadir=/usr/share &&
 
make top_builddir=$PWD
 
 
 
Install the package:
 
  
make top_builddir=$PWD install install-dev install-lib &&
 
chmod 755 -v /lib64/libattr.so.1.1.0
 
  
 
= Contents =
 
= Contents =

Revision as of 09:21, 16 December 2006

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"