Difference between revisions of "Attr"

From CBLFS
Jump to navigationJump to search
(Configuration Information)
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_{{Attr-Version}}.tar.gz
+
| http://download.savannah.gnu.org/releases-noredirect/attr/attr-{{Attr-Version}}.src.tar.gz
 
|}
 
|}
  
 
----
 
----
  
{{Blank-Package-Introduction}}
+
{{Package-Introduction|Extended attributes are arbitrary name/value pairs which are associated with files or directories.|http://acl.bestbits.at/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 13: Line 13:
 
== Configuration Information ==
 
== Configuration Information ==
  
{{Note|Attr does not use support ''DESTDIR'' but you can add support by running the fallowing in the root of the source directory
+
{{Note|Attr uses ''DIST_ROOT'' rather than the ''DESTDIR'' variable.}}
before running configure.}}
 
 
 
cat >> include/builddefs.in << "EOF"
 
DESTDIR="$$dc_destdir"
 
PKG_BIN_DIR    = $(DESTDIR)@bindir@
 
PKG_SBIN_DIR    = $(DESTDIR)@sbindir@
 
PKG_LIB_DIR    = $(DESTDIR)@libdir@@libdirsuffix@
 
PKG_DEVLIB_DIR  = $(DESTDIR)@libexecdir@@libdirsuffix@
 
PKG_INC_DIR    = $(DESTDIR)@includedir@/attr
 
PKG_MAN_DIR    = $(DESTDIR)@mandir@
 
PKG_DOC_DIR    = $(DESTDIR)@datadir@/doc/@pkg_name@
 
PKG_LOCALE_DIR  = $(DESTDIR)@datadir@/locale
 
EOF
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 32: Line 19:
 
Compile the package:
 
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 \
 
  ./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 \
Line 49: Line 27:
  
 
  make LIBTOOL=$PWD/libtool 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
 
 
 
 
== Multilib ==
 
== Multilib ==
  
Line 58: Line 34:
 
Compile the package:
 
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 &&
 
 
  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 \
Line 82: Line 49:
 
Compile the package:
 
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 &&
 
 
  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 \
Line 106: Line 64:
 
Compile the package:
 
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 &&
 
 
  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 \

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"