Difference between revisions of "Attr"
From CBLFS
Jump to navigationJump to searchLine 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/ | + | 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 === | ||
− | + | Compile the package: | |
− | |||
− | |||
autoconf && | autoconf && | ||
− | + | sed -i Makefile \ | |
− | + | -e '/autoconf/d' \ | |
− | + | -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 \ |
− | + | --mandir=/usr/share/man --datadir=/usr/share && | |
− | + | make | |
− | |||
− | make | ||
Install the package: | Install the package: | ||
− | make | + | make install install-dev install-lib && |
− | chmod 755 -v /lib/ | + | LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") && |
+ | chmod 755 -v /lib/${LIBNAME} | ||
=== N32 === | === N32 === | ||
− | + | Compile the package: | |
− | |||
− | |||
autoconf && | autoconf && | ||
− | + | sed -i Makefile \ | |
− | + | -e '/autoconf/d' \ | |
− | + | -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 \ |
− | + | --mandir=/usr/share/man --datadir=/usr/share && | |
− | + | make | |
− | |||
− | make | ||
Install the package: | Install the package: | ||
− | make | + | make install install-dev install-lib && |
− | chmod 755 -v /lib32/ | + | LIBNAME=$(cat libattr/libattr.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") && |
+ | chmod 755 -v /lib32/${LIBNAME} | ||
=== 64Bit === | === 64Bit === | ||
− | + | Compile the package: | |
− | |||
− | |||
autoconf && | 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 = | = 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 |
---|
Contents
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 | ??? |