aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/attr.sh
blob: 22e7b791e7798c8055def7f232d6080e1f13e18e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

./configure --prefix=/usr \
            --bindir=/bin \
            --disable-static \
            --sysconfdir=/etc \
            --docdir=/usr/share/doc/attr-"${VERSION}" &&

make &&
make -j1 install &&

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