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