• 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

Revisionb7830ce4ab058d69fae90a4054f0ef05fb0f2a98 (tree)
Zeit2012-03-13 23:41:57
Autormatsuand <matsuand@user...>
Commitermatsuand

Log Message

[BLFS] Added audiofile.

Ändern Zusammenfassung

Diff

--- /dev/null
+++ b/BLFS/audiofile.sh
@@ -0,0 +1,45 @@
1+#!/bin/sh
2+
3+VER=0.3.3
4+TARGET=audiofile-$VER
5+TARGETBALL=$TARGET.tar.gz
6+TARGETDIR=$TARGET
7+
8+. ./_blfsset.sh
9+
10+echo Check Required...
11+./_checkRequired.sh || 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+LDFLAGS="$LDFLAGS -lm" \
29+./configure --prefix=/usr \
30+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
31+
32+echo \ \ Making...
33+LDFLAGS="$LDFLAGS -lm" \
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+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
42+
43+echo \ \ Removing directory...
44+cd .. && rm -fr $TARGETDIR
45+