• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Révision62ca73f2ac4760f8c9930e3a2499a0975fbaf98f (tree)
l'heure2012-03-04 11:34:08
Auteurmatsuand <matsuand@user...>
Commitermatsuand

Message de Log

[BLFS] Added unzip.

Change Summary

Modification

--- /dev/null
+++ b/BLFS/unzip.sh
@@ -0,0 +1,49 @@
1+#!/bin/sh
2+
3+VER=6.0
4+TARGET=unzip-$VER
5+TARGETBALL=unzip60.tar.gz
6+TARGETDIR=unzip60
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 \ \ Making...
28+case `uname -m` in
29+ i?86)
30+ sed -i -e 's/DASM"/DASM -DNO_LCHMOD"/' unix/Makefile
31+ make -f unix/Makefile linux \
32+ 1> $LOG/$TARGET.1_make.log 2>&1 || exit 1
33+ ;;
34+ *)
35+ sed -i -e 's/CFLAGS="-O -Wall/& -DNO_LCHMOD/' unix/Makefile
36+ make -f unix/Makefile linux_noasm \
37+ 1> $LOG/$TARGET.1_make.log 2>&1 || exit 1
38+ ;;
39+esac
40+
41+echo \ \ Installing...
42+paco -p $TARGET "make prefix=/usr install" \
43+ 1> $LOG/$TARGET.2_install.log 2>&1 || exit 1
44+
45+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
46+
47+echo \ \ Removing directory...
48+cd .. && rm -fr $TARGETDIR
49+