• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revisionf5211b4c6cc72db6200259489b241aa29449557f (tree)
Time2012-02-26 22:17:12
Authormatsuand <matsuand@user...>
Commitermatsuand

Log Message

Added libedit.sh.

Change Summary

Incremental Difference

--- /dev/null
+++ b/BLFS/libedit.sh
@@ -0,0 +1,42 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+VER=3.0
6+TARGET=libedit-20100424-$VER
7+TARGETBALL=$TARGET.tar.gz
8+TARGETDIR=$TARGET
9+
10+cd $SRC
11+
12+echo $TARGET
13+
14+echo \ \ Removing old directory...
15+rm -fr $TARGETDIR
16+
17+echo \ \ Extracting...
18+if ! test -f $DLD/$TARGETBALL; then
19+ echo \ \ Tarball not found: $TARGETBALL && exit 1
20+else
21+ tar xf $DLD/$TARGETBALL
22+fi
23+
24+cd $TARGETDIR
25+
26+echo \ \ Configuring...
27+./configure --prefix=/usr \
28+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
29+
30+echo \ \ Making...
31+make \
32+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
33+
34+echo \ \ Installing...
35+paco -p $TARGET 'make install' \
36+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
37+
38+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
39+
40+echo \ \ Removing directory...
41+cd .. && rm -fr $TARGETDIR
42+