• 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

Revisiona9f625714c4e903d2ba79858805535c43f55f324 (tree)
Time2012-02-26 22:10:13
Authormatsuand <matsuand@user...>
Commitermatsuand

Log Message

Added libcap-ng.sh.

Change Summary

Incremental Difference

--- /dev/null
+++ b/BLFS/libcap-ng.sh
@@ -0,0 +1,45 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+VER=0.6.6
6+TARGET=libcap-ng-$VER
7+TARGETBALL=$TARGET.tar.gz
8+TARGETDIR=$TARGET
9+
10+echo Check Required...
11+./_checkRequired.sh || exit 1
12+
13+cd $SRC
14+
15+echo $TARGET
16+
17+echo \ \ Removing old directory...
18+rm -fr $TARGETDIR
19+
20+echo \ \ Extracting...
21+if ! test -f $DLD/$TARGETBALL; then
22+ echo \ \ Tarball not found: $TARGETBALL && exit 1
23+else
24+ tar xf $DLD/$TARGETBALL
25+fi
26+
27+cd $TARGETDIR
28+
29+echo \ \ Configuring...
30+./configure --prefix=/usr \
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 'prefix=/usr make install' \
39+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
40+
41+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
42+
43+echo \ \ Removing directory...
44+cd .. && rm -fr $TARGETDIR
45+