diff options
Diffstat (limited to 'chapter8/attr.sh')
-rw-r--r-- | chapter8/attr.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chapter8/attr.sh b/chapter8/attr.sh new file mode 100644 index 0000000..f68d6cb --- /dev/null +++ b/chapter8/attr.sh @@ -0,0 +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 |