Difference between revisions of "Acl"

From CBLFS
Jump to navigationJump to search
(I added the template for the package description and "Contents" sections.)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_2.2.39-1.tar.gz
+
| ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_{{Acl-Version}}.tar.gz
 
|}
 
|}
  
Line 20: Line 20:
 
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 25: Line 32:
  
 
  make install install-dev install-lib &&
 
  make install install-dev install-lib &&
  chmod 755 -v /lib/libacl.so.1.1.0
+
LIBNAME=$(cat libacl/libacl.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
 +
  chmod 755 /lib/${LIBNAME}
  
 
== Multilib ==
 
== Multilib ==
Line 31: Line 39:
 
=== 32Bit ===
 
=== 32Bit ===
  
Create a libtool:
+
Compile the package:
  
sed -i "/AC_MULTILIB/i\AC_PROG_LIBTOOL" configure.in &&
 
aclocal -I m4 &&
 
 
  autoconf &&
 
  autoconf &&
  libtoolize
+
  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
  
Compile the package:
+
Install the package
  
  CC="gcc ${BUILD32}" ./configure --prefix=/ --exec-prefix=/ \
+
  make install install-dev install-lib &&
    --sbindir=/bin --bindir=/usr/bin --libdir=/lib \
+
  LIBNAME=$(cat libacl/libacl.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
    --libexecdir=/usr/lib --includedir=/usr/include \
+
  chmod 755 /lib/${LIBNAME}
    --mandir=/usr/share/man --datadir=/usr/share &&
 
  make top_builddir=$PWD
 
 
 
Install the package:
 
 
 
make top_builddir=$PWD install install-dev install-lib &&
 
  chmod 755 -v /lib/libacl.so.1.1.0
 
  
 
=== N32 ===
 
=== N32 ===
  
Create a libtool:
+
Compile the package:
  
sed -i "/AC_MULTILIB/i\AC_PROG_LIBTOOL" configure.in &&
 
aclocal -I m4 &&
 
 
  autoconf &&
 
  autoconf &&
  libtoolize
+
  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
  
Compile the package:
+
Install the package
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/ --exec-prefix=/ \
+
  make install install-dev install-lib &&
    --sbindir=/bin --bindir=/usr/bin --libdir=/lib32 \
+
  LIBNAME=$(cat libacl/libacl.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
    --libexecdir=/usr/lib32 --includedir=/usr/include \
+
  chmod 755 /lib32/${LIBNAME}
    --mandir=/usr/share/man --datadir=/usr/share &&
 
  make top_builddir=$PWD
 
 
 
Install the package:
 
 
 
make top_builddir=$PWD install install-dev install-lib &&
 
  chmod 755 -v /lib32/libacl.so.1.1.0
 
  
 
=== 64Bit ===
 
=== 64Bit ===
  
Create a libtool:
+
Compile the package:
  
sed -i "/AC_MULTILIB/i\AC_PROG_LIBTOOL" configure.in &&
 
aclocal -I m4 &&
 
 
  autoconf &&
 
  autoconf &&
  libtoolize
+
  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
  
Compile the package:
+
Install the package
  
  CC="gcc ${BUILD64}" ./configure --prefix=/ --exec-prefix=/ \
+
  make install install-dev install-lib &&
    --sbindir=/bin --bindir=/usr/bin --libdir=/lib64 \
+
  LIBNAME=$(cat libacl/libacl.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
    --libexecdir=/usr/lib64 --includedir=/usr/include \
+
  chmod 755 /lib64/${LIBNAME}
    --mandir=/usr/share/man --datadir=/usr/share &&
 
  make top_builddir=$PWD
 
 
 
Install the package:
 
 
 
make top_builddir=$PWD install install-dev install-lib &&
 
  chmod 755 -v /lib64/libacl.so.1.1.0
 
  
 
= Contents =
 
= Contents =

Revision as of 14:02, 16 December 2006

Download Source: ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_2.2.51.tar.gz

Introduction to ACL

<Package Description Needed>

Dependencies

Required

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 libacl/libacl.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
chmod 755 /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 libacl/libacl.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
chmod 755 /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 libacl/libacl.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
chmod 755 /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 libacl/libacl.la | grep library_names | cut -f2 -d"'" | cut -f1 -d" ") &&
chmod 755 /lib64/${LIBNAME}

Contents

Installed Programs: ???
Installed Libraries: ???
Installed Directory: ???

Short Descriptions

program1 ???
program2 ???
Retrieved from "?title=Acl&oldid=4742"