aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/attr.sh
blob: aede208d0396aa40faca4b38336adfdcd564e486 (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 \
            --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