• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

修订版99bc106bb48a9f95a63d44475c763b3bcc0d3866 (tree)
时间2012-02-25 22:47:54
作者matsuand <matsuand@user...>
Commitermatsuand

Log Message

Added wget.sh.

更改概述

差异

--- /dev/null
+++ b/BLFS/wget.sh
@@ -0,0 +1,52 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+VER=1.13.4
6+TARGET=wget-$VER
7+TARGETBALL=$TARGET.tar.xz
8+TARGETDIR=$TARGET
9+
10+echo Check Options...
11+. ./_checkOptions.sh openssl gnutls libidn dante
12+
13+if [ ${OPTION_gnutls} -eq "1" ]; then
14+ export WITHGNUTLS=" "
15+else
16+ export WITHGNUTLS="--with-ssl=openssl "
17+fi
18+
19+cd $SRC
20+
21+echo $TARGET
22+
23+echo \ \ Removing old directory...
24+rm -fr $TARGETDIR
25+
26+echo \ \ Extracting...
27+tar xf $DLD/$TARGETBALL || (echo Tarball not found && exit 1)
28+
29+cd $TARGETDIR
30+
31+echo \ \ Configuring...
32+./configure --prefix=/usr --sysconfdir=/etc \
33+ $WITHGNUTLS \
34+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
35+
36+echo \ \ Making...
37+make \
38+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
39+
40+echo \ \ Installing...
41+paco -p $TARGET 'make install' \
42+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
43+
44+paco -p+ $TARGET "\
45+install-info --info-dir=/usr/share/info /usr/share/info/wget.info \
46+"
47+
48+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
49+
50+echo \ \ Removing directory...
51+cd .. && rm -fr $TARGETDIR
52+