Chapter 21. build

Table of Contents

1. acl
2. attr
3. autoconf
4. automake
5. bash
6. bc
7. binutils
8. bison
9. busybox
10. bzip2
11. check
12. coreutils
13. cpio
14. curl
15. dbus
16. diffutils
17. dropbear
18. dummy
19. e2fsprogs
20. ex
21. expat
22. file
23. findutils
24. flex
25. gawk
26. gcc
27. gdbm
28. gettext
29. glibc
30. gmp
31. gperf
32. grep
33. groff
34. grub
35. gzip
36. iana-etc
37. inetutils
38. intltool
39. iproute2
40. kbd
41. kmod
42. ksh
43. less
44. libarchive
45. libcap
46. libpipeline
47. libstdc++
48. libtar
49. libtool
50. linux-4.1.3
51. linux-headers-4.1.3
52. linux-sources-4.1.3
53. lvm2
54. m4
55. make
56. man-db
57. man-pages
58. mkinitramfs
59. mpc
60. mpfr
61. ncurses
62. openssh
63. openssl
64. parted
65. patch
66. perl
67. pkg-config
68. procps-ng
69. psmisc
70. readline
71. rsync
72. sed
73. shadow
74. strace
75. systemd
76. tar
77. texinfo
78. util-linux
79. vim
80. wget
81. wkpkg
82. xml-parser
83. xorriso
84. xz
85. zlib

1. acl

wget http://www.gnuwakes.org/depot/1.0/main/sources/acl-2.2.52.src.tar.gz

tar -xf acl-2.2.52.src.tar.gz

wget http://www.gnuwakes.org/depot/1.0/main/sources/acl.patch
cd acl-2.2.52
patch -p1 < ../acl.patch 
cd ..

SOURCES_DIR=$PWD/acl-2.2.52
INSTALL_DIR=$PWD/acl-2.2.52-install
BUILD_DIR=$PWD/acl-2.2.52-build

mkdir $INSTALL_DIR $BUILD_DIR
cd $BUILD_DIR

rsync -a $SOURCES_DIR/ .
./configure --prefix=/usr --libexecdir=/usr/lib && \
  make && make DESTDIR=$INSTALL_DIR install install-dev install-lib

chmod -v 755 $INSTALL_DIR/usr/lib/libacl.so

mkdir -v $INSTALL_DIR/lib
mv -v $INSTALL_DIR/usr/lib/libacl.so.* $INSTALL_DIR/lib
ln -sfv ../../lib/$(readlink $INSTALL_DIR/usr/lib/libacl.so) \
  $INSTALL_DIR/usr/lib/libacl.so