Difference between revisions of "Attr"

From CBLFS
Jump to navigationJump to search
(Need -f to cp install.sh.orig)
Line 19: Line 19:
 
     -e 's@default: $(CONFIGURE)@default:@' &&
 
     -e 's@default: $(CONFIGURE)@default:@' &&
 
  sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in &&
 
  sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in &&
  cp install-sh{,.orig} &&
+
  cp -v install-sh{,.orig} &&
 
  libtoolize -f -i &&
 
  libtoolize -f -i &&
  cp install-sh{.orig,} &&
+
  cp -vf install-sh{.orig,} &&
 
  aclocal -I m4 &&
 
  aclocal -I m4 &&
 
  autoconf &&
 
  autoconf &&

Revision as of 10:41, 26 January 2009

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:

sed -i Makefile \
   -e '/autoconf/d' \
   -e 's@default: $(CONFIGURE)@default:@' &&
sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in &&
cp -v install-sh{,.orig} &&
libtoolize -f -i &&
cp -vf install-sh{.orig,} &&
aclocal -I m4 &&
autoconf &&
./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 LIBTOOL=$PWD/libtool

Install the package

make LIBTOOL=$PWD/libtool install install-dev install-lib &&
chmod 755 -v /lib/libattr.so.1.1.0

Multilib

32Bit

Compile the package:

sed -i Makefile \
   -e '/autoconf/d' \
   -e 's@default: $(CONFIGURE)@default:@' &&
sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in &&
cp install-sh{,.orig} &&
libtoolize -f -i &&
cp install-sh{.orig,} &&
aclocal -I m4 &&
autoconf &&
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 LIBTOOL=$PWD/libtool

Install the package:

make LIBTOOL=$PWD/libtool install install-dev install-lib &&
chmod 755 -v /lib/libattr.so.1.1.0

N32

Compile the package:

sed -i Makefile \
   -e '/autoconf/d' \
   -e 's@default: $(CONFIGURE)@default:@' &&
sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in &&
cp install-sh{,.orig} &&
libtoolize -f -i &&
cp install-sh{.orig,} &&
aclocal -I m4 &&
autoconf &&
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 LIBTOOL=$PWD/libtool

Install the package:

make LIBTOOL=$PWD/libtool install install-dev install-lib &&
chmod 755 -v /lib32/libattr.so.1.1.0

64Bit

Compile the package:

sed -i Makefile \
   -e '/autoconf/d' \
   -e 's@default: $(CONFIGURE)@default:@' &&
sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in &&
cp install-sh{,.orig} &&
libtoolize -f -i &&
cp install-sh{.orig,} &&
aclocal -I m4 &&
autoconf &&
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 LIBTOOL=$PWD/libtool

Install the package:

make LIBTOOL=$PWD/libtool install install-dev install-lib &&
chmod 755 -v /lib64/libattr.so.1.1.0
Retrieved from "?title=Attr&oldid=16733"