Difference between revisions of "Attr"
From CBLFS
Jump to navigationJump to searchLine 15: | Line 15: | ||
Compile the package: | Compile the package: | ||
− | |||
sed -i Makefile \ | sed -i Makefile \ | ||
-e '/autoconf/d' \ | -e '/autoconf/d' \ | ||
-e 's@default: $(CONFIGURE)@default:@' && | -e 's@default: $(CONFIGURE)@default:@' && | ||
+ | sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in && | ||
+ | libtoolize && | ||
+ | aclocal -I m4 && | ||
+ | autoconf && | ||
./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \ | ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \ | ||
--bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \ | --bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \ | ||
--mandir=/usr/share/man --datadir=/usr/share && | --mandir=/usr/share/man --datadir=/usr/share && | ||
− | make | + | make LIBTOOL=$PWD/libtool |
Install the package | Install the package | ||
− | make install install-dev install-lib && | + | make LIBTOOL=$PWD/libtool install install-dev install-lib && |
LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") && | LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") && | ||
chmod 755 -v /lib/${LIBNAME} | chmod 755 -v /lib/${LIBNAME} | ||
Line 36: | Line 39: | ||
Compile the package: | Compile the package: | ||
− | |||
sed -i Makefile \ | sed -i Makefile \ | ||
-e '/autoconf/d' \ | -e '/autoconf/d' \ | ||
-e 's@default: $(CONFIGURE)@default:@' && | -e 's@default: $(CONFIGURE)@default:@' && | ||
+ | sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in && | ||
+ | libtoolize && | ||
+ | aclocal -I m4 && | ||
+ | autoconf && | ||
CC="gcc ${BUILD32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \ | CC="gcc ${BUILD32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \ | ||
--bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \ | --bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \ | ||
--mandir=/usr/share/man --datadir=/usr/share && | --mandir=/usr/share/man --datadir=/usr/share && | ||
− | make | + | make LIBTOOL=$PWD/libtool |
Install the package: | Install the package: | ||
− | make install install-dev install-lib && | + | make LIBTOOL=$PWD/libtool install install-dev install-lib && |
LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") && | LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") && | ||
chmod 755 -v /lib/${LIBNAME} | chmod 755 -v /lib/${LIBNAME} | ||
Line 55: | Line 61: | ||
Compile the package: | Compile the package: | ||
− | |||
sed -i Makefile \ | sed -i Makefile \ | ||
-e '/autoconf/d' \ | -e '/autoconf/d' \ | ||
-e 's@default: $(CONFIGURE)@default:@' && | -e 's@default: $(CONFIGURE)@default:@' && | ||
+ | sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in && | ||
+ | libtoolize && | ||
+ | aclocal -I m4 && | ||
+ | autoconf && | ||
CC="gcc ${BUILDN32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \ | CC="gcc ${BUILDN32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \ | ||
--bindir=/usr/sbin --libdir=/lib32 --libexecdir=/usr/lib32 --includedir=/usr/include \ | --bindir=/usr/sbin --libdir=/lib32 --libexecdir=/usr/lib32 --includedir=/usr/include \ | ||
--mandir=/usr/share/man --datadir=/usr/share && | --mandir=/usr/share/man --datadir=/usr/share && | ||
− | make | + | make LIBTOOL=$PWD/libtool |
Install the package: | Install the package: | ||
− | make install install-dev install-lib && | + | make LIBTOOL=$PWD/libtool install install-dev install-lib && |
LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") && | LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") && | ||
chmod 755 -v /lib32/${LIBNAME} | chmod 755 -v /lib32/${LIBNAME} | ||
Line 74: | Line 83: | ||
Compile the package: | Compile the package: | ||
− | |||
sed -i Makefile \ | sed -i Makefile \ | ||
-e '/autoconf/d' \ | -e '/autoconf/d' \ | ||
-e 's@default: $(CONFIGURE)@default:@' && | -e 's@default: $(CONFIGURE)@default:@' && | ||
+ | sed -i "/AC_OUTPUT/i\AC_PROG_LIBTOOL" configure.in && | ||
+ | libtoolize && | ||
+ | aclocal -I m4 && | ||
+ | autoconf && | ||
CC="gcc ${BUILD64}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \ | CC="gcc ${BUILD64}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \ | ||
--bindir=/usr/sbin --libdir=/lib64 --libexecdir=/usr/lib64 --includedir=/usr/include \ | --bindir=/usr/sbin --libdir=/lib64 --libexecdir=/usr/lib64 --includedir=/usr/include \ | ||
--mandir=/usr/share/man --datadir=/usr/share && | --mandir=/usr/share/man --datadir=/usr/share && | ||
− | make | + | make LIBTOOL=$PWD/libtool |
Install the package: | Install the package: | ||
− | make install install-dev install-lib && | + | make LIBTOOL=$PWD/libtool install install-dev install-lib && |
LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") && | LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") && | ||
chmod 755 -v /lib64/${LIBNAME} | chmod 755 -v /lib64/${LIBNAME} |
Revision as of 16:57, 30 September 2007
Download Source: | ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_2.4.46.tar.gz |
---|
Contents
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 && libtoolize && 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 && LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") && chmod 755 -v /lib/${LIBNAME}
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 && libtoolize && 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 && LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") && chmod 755 -v /lib/${LIBNAME}
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 && libtoolize && 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 && LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") && chmod 755 -v /lib32/${LIBNAME}
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 && libtoolize && 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 && 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 | ??? |