-# hdw - linux e2fsprogs package
+# hdw - linux xfsprogs package
#
-# author: hackbard@hackdaworld.dyndns.org
+# author: hackbard@hackdaworldorg
#
-# [V] 2.7.11.src
+# [V] 2.9.4-1
# [S] 3-1
-# [D] xfsprogs-2.7.11.src.tar.gz ftp://oss.sgi.com/projects/xfs/download/cmd_tars/
+# [D] xfsprogs_2.9.4-1.tar.gz ftp://oss.sgi.com/projects/xfs/download/cmd_tars/
-build_main() {
- sed '/autoconf/d' Makefile > tmp~
- mv tmp~ Makefile
- make DEBUG=-DNDEBUG
- make install
- }
+confopt="$confopt --libdir=$root/lib --bindir=$root/bin"
+
+make_conf="$make_conf DEBUG=-DNDEBUG INSTALL_USER=root INSTALL_GROUP=root"
+make_conf="$make_conf LOCAL_CONFIGURE_OPTIONS=\"--enable-readline=yes\""
post_install() {
- chmod -v 755 $root/lib/libhandle.so* &&
- install -v -m755 -D libhandle/libhandle.la $prefix/lib/libhandle.la &&
- install -v -m644 libhandle/.libs/libhandle.a $prefix/lib &&
- ln -sv ../../lib/libhandle.so.1 $prefix/lib/libhandle.so
+ make install-dev
+ install -v -m755 -D libhandle/libhandle.la $prefix/lib/libhandle.la
+ chmod -v 755 $root/lib/libhandle.so*
+ rm -f $root/lib/libhandle.{a,la,so} &&
+ ln -svf ../../lib/libhandle.so.1 $prefix/lib/libhandle.so
}