Difference between revisions of "Attr"

From CBLFS
Jump to navigationJump to search
 
(22 intermediate revisions by 9 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_2.4.32-1.tar.gz
+
| http://download.savannah.gnu.org/releases-noredirect/attr/attr-{{Attr-Version}}.src.tar.gz
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|Extended attributes are arbitrary name/value pairs which are associated with files or directories.|http://acl.bestbits.at/}}
  
 
== Dependencies ==
 
== Dependencies ==
 +
 +
== Configuration Information ==
 +
 +
{{Note|Attr uses ''DIST_ROOT'' rather than the ''DESTDIR'' variable.}}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
  
 
Compile the package:
 
Compile the package:
 
+
  make
+
./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 DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"
  
 
Install the package
 
Install the package
  
  make install install-dev install-lib
+
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
 
+
chmod 755 -v /lib/libattr.so.1.1.0
 
== Multilib ==
 
== Multilib ==
  
 
=== 32Bit ===
 
=== 32Bit ===
 
Create a libtool:
 
 
sed -i "/AC_MULTILIB/i\AC_PROG_LIBTOOL" configure.in &&
 
aclocal -I m4 &&
 
autoconf &&
 
libtoolize
 
  
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/ --exec-prefix=/ \
+
  CC="gcc ${BUILD32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
    --sbindir=/bin --bindir=/usr/bin --libdir=/lib \
+
  --bindir=/usr/sbin --libdir=/lib --libexecdir=/usr/lib --includedir=/usr/include \
    --libexecdir=/usr/lib --includedir=/usr/include \
+
  --mandir=/usr/share/man --datadir=/usr/share &&
    --mandir=/usr/share/man --datadir=/usr/share &&
+
  make DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"
  make top_builddir=$PWD
 
  
 
Install the package:
 
Install the package:
  
  make top_builddir=$PWD install install-dev install-lib &&
+
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
  chmod 755 -v /lib/libattr.so.1.1.0
+
  chmod 755 -v /lib/libattr.so.1.1.0 &&
 +
rm -v /lib/libattr.{,l}a
  
 
=== N32 ===
 
=== N32 ===
 
Create a libtool:
 
 
sed -i "/AC_MULTILIB/i\AC_PROG_LIBTOOL" configure.in &&
 
aclocal -I m4 &&
 
autoconf &&
 
libtoolize
 
  
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/ --exec-prefix=/ \
+
  CC="gcc ${BUILDN32}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
    --sbindir=/bin --bindir=/usr/bin --libdir=/lib32 \
+
  --bindir=/usr/sbin --libdir=/lib32 --libexecdir=/usr/lib32 --includedir=/usr/include \
    --libexecdir=/usr/lib32 --includedir=/usr/include \
+
  --mandir=/usr/share/man --datadir=/usr/share &&
    --mandir=/usr/share/man --datadir=/usr/share &&
+
  make DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"
  make top_builddir=$PWD
 
  
 
Install the package:
 
Install the package:
  
  make top_builddir=$PWD install install-dev install-lib &&
+
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
  chmod 755 -v /lib32/libattr.so.1.1.0
+
  chmod 755 -v /lib32/libattr.so.1.1.0 &&
 +
rm -v /lib32/libattr.{,l}a
  
 
=== 64Bit ===
 
=== 64Bit ===
  
Create a libtool:
+
Compile the package:
  
  sed -i "/AC_MULTILIB/i\AC_PROG_LIBTOOL" configure.in &&
+
  CC="gcc ${BUILD64}" ./configure --prefix=/ --exec-prefix=/ --sbindir=/sbin \
aclocal -I m4 &&
+
  --bindir=/usr/sbin --libdir=/lib64 --libexecdir=/usr/lib64 --includedir=/usr/include \
autoconf &&
+
  --mandir=/usr/share/man --datadir=/usr/share &&
  libtoolize
+
  make DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"
  
Compile the package:
+
Install the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/ --exec-prefix=/ \
+
  make LIBTOOL=$PWD/libtool install install-dev install-lib &&
    --sbindir=/bin --bindir=/usr/bin --libdir=/lib64 \
+
chmod 755 -v /lib64/libattr.so.1.1.0 &&
    --libexecdir=/usr/lib64 --includedir=/usr/include \
+
rm -v /lib64/libattr.{,l}a
    --mandir=/usr/share/man --datadir=/usr/share &&
 
make top_builddir=$PWD
 
  
Install the package:
 
  
make top_builddir=$PWD install install-dev install-lib &&
+
[[Category:General Libs]]
chmod 755 -v /lib64/libattr.so.1.1.0
 

Latest revision as of 12:28, 17 February 2013

Download Source: http://download.savannah.gnu.org/releases-noredirect/attr/attr-2.4.46.src.tar.gz

Introduction to Attr

Extended attributes are arbitrary name/value pairs which are associated with files or directories.

Project Homepage: http://acl.bestbits.at/

Dependencies

Configuration Information

Caution.png

Note

Attr uses DIST_ROOT rather than the DESTDIR variable.

Non-Multilib

Compile the package:

./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 DEBUG=-DNDEBUG 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:

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 DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"

Install the package:

make LIBTOOL=$PWD/libtool install install-dev install-lib &&
chmod 755 -v /lib/libattr.so.1.1.0 &&
rm -v /lib/libattr.{,l}a

N32

Compile the package:

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 DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"

Install the package:

make LIBTOOL=$PWD/libtool install install-dev install-lib &&
chmod 755 -v /lib32/libattr.so.1.1.0 &&
rm -v /lib32/libattr.{,l}a

64Bit

Compile the package:

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 DEBUG=-DNDEBUG LIBTOOL="$PWD/libtool"

Install the package:

make LIBTOOL=$PWD/libtool install install-dev install-lib &&
chmod 755 -v /lib64/libattr.so.1.1.0 &&
rm -v /lib64/libattr.{,l}a
Retrieved from "?title=Attr&oldid=21498"