#!/bin/sh

. config/options $1

cd $PKG_BUILD
./configure --host=$TARGET_NAME \
            --build=$HOST_NAME \
            --prefix=/usr \
            --sysconfdir=/etc \
            --disable-static \
            --enable-shared \
            --disable-all-clocks \
            --disable-ipv6 \
            --without-rpath \
            --with-gnu-ld \
            --without-crypto

make -C libopts
make -C ntpd
make -C ntpdate