#!/bin/sh

. config/options $1

cd $PKG_BUILD
gt_cv_func_gnugettext1_libintl=no \
./configure --host=$TARGET_NAME \
            --build=$HOST_NAME \
            --prefix=/usr \
            --enable-shared \
            --disable-static \
            --disable-tls \
            --without-ncurses \
            --disable-libmount \
            --disable-mesg \
            --disable-partx \
            --without-slang \
            --without-utempter \
            --without-pam \
            --without-selinux \
            --without-audit

make -C mount
make -C shlibs
make -C misc-utils blkid

$MAKEINSTALL -C shlibs
