• 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

Revisão40b60367f7f9b16872ca508b53604afe38c2065e (tree)
Hora2012-03-13 23:42:08
Autormatsuand <matsuand@user...>
Commitermatsuand

Mensagem de Log

[BLFS] Added libmad.

Mudança Sumário

Diff

--- /dev/null
+++ b/BLFS/libmad.sh
@@ -0,0 +1,53 @@
1+#!/bin/sh
2+
3+VER=0.15.1b
4+TARGET=libmad-$VER
5+TARGETBALL=$TARGET.tar.gz
6+TARGETDIR=$TARGET
7+
8+. ./_blfsset.sh
9+
10+cd $SRC
11+
12+echo $TARGET
13+
14+echo \ \ Removing old directory...
15+rm -fr $TARGETDIR
16+
17+. $WRK/_extract.sh
18+
19+cd $TARGETDIR
20+
21+sed -i '/-fforce-mem/d' configure
22+
23+echo \ \ Configuring...
24+./configure --prefix=/usr \
25+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
26+
27+echo \ \ Making...
28+make \
29+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
30+
31+echo \ \ Installing...
32+paco -p $TARGET 'make install' \
33+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
34+
35+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
36+
37+cat > /usr/lib/pkgconfig/mad.pc << "EOF"
38+prefix=/usr
39+exec_prefix=${prefix}
40+libdir=${exec_prefix}/lib
41+includedir=${prefix}/include
42+
43+Name: mad
44+Description: MPEG audio decoder
45+Requires:
46+Version: 0.15.1b
47+Libs: -L${libdir} -lmad
48+Cflags: -I${includedir}
49+EOF
50+
51+echo \ \ Removing directory...
52+cd .. && rm -fr $TARGETDIR
53+