2 # download, build and install reiserfs library
6 stamp="$dir/.last-build-reiser"
11 if [ -d "$dir" -a -f "$stamp" ]; then
12 echo "Using valid cache for $dir, built" `cat "$stamp"`
14 cd reiserfsprogs-${version}
19 echo "No or stale cache for $dir, rebuilding"
23 wget https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v${version}/reiserfsprogs-${version}.tar.xz
24 tar xf reiserfsprogs-${version}.tar.xz
25 cd reiserfsprogs-${version}
26 ./configure --prefix=/usr