From af28b78b8e659f995b39a5dde2ce2cef0da9fbe0 Mon Sep 17 00:00:00 2001
From: William Harrington <kb0iic@berzerkula.org>
Date: Tue, 6 Apr 2021 14:09:59 -0500
Subject: Add chapter8 script commands.

---
 chapter8/attr.sh | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'chapter8/attr.sh')

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
-- 
cgit v1.2.3-54-g00ecf