diff options
Diffstat (limited to 'chapter8/attr.sh')
-rw-r--r-- | chapter8/attr.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter8/attr.sh b/chapter8/attr.sh index 7a693aa..f68d6cb 100644 --- a/chapter8/attr.sh +++ b/chapter8/attr.sh @@ -1,3 +1,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 |