• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision5fd4d59cbca27ee19b81feff87fb74657f3e6297 (tree)
Zeit2012-03-18 11:08:24
Autormatsuand <matsuand@user...>
Commitermatsuand

Log Message

[BLFS] Added ntp.

Ändern Zusammenfassung

Diff

--- /dev/null
+++ b/BLFS/ntp.sh
@@ -0,0 +1,50 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+VER=4.2.6p5
6+TARGET=ntp-$VER
7+TARGETBALL=$TARGET.tar.gz
8+TARGETDIR=$TARGET
9+
10+echo Check Required...
11+./_checkOptions.sh openssl || exit 1
12+if test "$1" == "check"; then
13+ exit 0
14+fi
15+
16+cd $SRC
17+
18+echo $TARGET
19+
20+echo \ \ Removing old directory...
21+rm -fr $TARGETDIR
22+
23+. $WRK/_extract.sh
24+
25+cd $TARGETDIR
26+
27+echo \ \ Configuring...
28+./configure --prefix=/usr \
29+ --sysconfdir=/etc \
30+ --with-binsubdir=sbin \
31+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
32+
33+echo \ \ Making...
34+make \
35+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
36+
37+echo \ \ Installing...
38+paco -p $TARGET "make install" \
39+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
40+
41+install -v -m755 -d /usr/share/doc/ntp-$VER
42+paco -p+ $TARGET "\
43+cp -v -R html/* /usr/share/doc/ntp-$VER/" \
44+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
45+
46+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
47+
48+echo \ \ Removing directory...
49+cd .. && rm -fr $TARGETDIR
50+