# hdw - linux util-linux package # # author: hackbard@hackdaworld.dyndns.org # # [V] 2.12a # [S] 1-8 2-15 # [D] util-linux-2.12a.tar.bz2 ftp://ftp.kernel.org/pub/linux/utils/util-linux/ if [ "$hdw_status" = "1" ]; then pre_install() { cp configure configure.orig sed "s%/usr/include%$prefix/include%g" configure.orig configure chmod 755 configure } build_main() { ./configure && make -C lib && make -C mount mount umount make -C text-utils more } post_install() { cp mount/{mount,umount} text-utils/more $prefix/bin } fi if [ "$hdw_status" = "2" ]; then pre_install() { sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \ hwclock/hwclock.c > tmp~ && mv tmp~ hwclock/hwclock.c && mkdir -p $root/var/lib/hwclock } confopt="" make_conf="HAVE_SLN=yes HAVE_KILL=yes" install_conf="HAVE_SLN=yes HAVE_KILL=yes" fi