• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

Commit MetaInfo

修訂05659237dbb17e094d57fe97592d70d59f9eddb8 (tree)
時間2012-03-13 23:42:22
作者matsuand <matsuand@user...>
Commitermatsuand

Log Message

[BLFS] Added libmng.

Change Summary

差異

--- /dev/null
+++ b/BLFS/libmng.sh
@@ -0,0 +1,53 @@
1+#!/bin/sh
2+
3+VER=1.0.10
4+TARGET=libmng-$VER
5+TARGETBALL=$TARGET.tar.bz2
6+TARGETDIR=$TARGET
7+
8+. ./_blfsset.sh
9+
10+echo Check Required...
11+./_checkRequired.sh lcms libjpeg || exit 1
12+
13+cd $SRC
14+
15+echo $TARGET
16+
17+echo \ \ Removing old directory...
18+rm -fr $TARGETDIR
19+
20+. $WRK/_extract.sh
21+
22+cd $TARGETDIR
23+
24+cp makefiles/makefile.linux Makefile
25+sed -i -e 's/unroll-loops/& -fPIC/' Makefile
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 prefix=/usr 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+paco -p+ $TARGET "\
38+install -v -m644 doc/man/*.3 /usr/share/man/man3" \
39+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
40+
41+paco -p+ $TARGET "\
42+install -v -m644 doc/man/*.5 /usr/share/man/man5" \
43+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
44+paco -p+ $TARGET "\
45+install -v -m755 -d /usr/share/doc/libmng-$VER" \
46+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
47+paco -p+ $TARGET "\
48+install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-$VER" \
49+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
50+
51+echo \ \ Removing directory...
52+cd .. && rm -fr $TARGETDIR
53+