new package: add package 'ntp'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-10-25 20:33:01 +02:00
parent eedb6e5469
commit d433c35e79
4 changed files with 25 additions and 2 deletions

16
packages/network/ntp/build Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
. config/options $1
$SCRIPTS/build toolchain
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--enable-shared \
make -C libopts
make -C ntpd

6
packages/network/ntp/install Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
. config/options $1
mkdir -p $INSTALL/usr/sbin
cp $PKG_BUILD/ntpd/ntpd $INSTALL/usr/sbin/

1
packages/network/ntp/url Normal file
View File

@ -0,0 +1 @@
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.6p2.tar.gz

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Busybox version: 1.17.3
# Mon Oct 18 04:22:28 2010
# Mon Oct 25 00:48:45 2010
#
CONFIG_HAVE_DOT_CONFIG=y
@ -763,7 +763,7 @@ CONFIG_NETSTAT=y
# CONFIG_FEATURE_NETSTAT_WIDE is not set
# CONFIG_FEATURE_NETSTAT_PRG is not set
# CONFIG_NSLOOKUP is not set
CONFIG_NTPD=y
# CONFIG_NTPD is not set
# CONFIG_FEATURE_NTPD_SERVER is not set
CONFIG_PING=y
# CONFIG_PING6 is not set