aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/acl.sh
blob: 516d86155312ce8e7efc8dfc1dd0108d9ec9c7e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
set -e

./configure --prefix=/usr \
            --bindir=/bin \
            --disable-static \
            --libexecdir=/usr/lib \
            --docdir=/usr/share/doc/acl-"${VERSION}" &&

make &&
make -j1 install &&

mv -v /usr/lib/libacl.so.* /lib &&
ln -sfv ../../lib/"$(readlink /usr/lib/libacl.so)" /usr/lib/libacl.so