Revision | 2a0b0dbbc04e91693f8785a2dbaa2ca74342bc24 (tree) |
---|---|
Time | 2021-12-22 13:35:21 |
Author | matsuand <30614168+matsuand@user...> |
Commiter | matsuand |
[BLFS] Add sassc-3.6.2.
@@ -0,0 +1,71 @@ | ||
1 | +#!/bin/sh | |
2 | + | |
3 | +. ./_blfsset.sh | |
4 | + | |
5 | +APPNAME=sassc | |
6 | +VER=3.6.2 | |
7 | +LIBVER=3.6.5 | |
8 | +TARGET=$APPNAME-$VER | |
9 | +TARGETBALL=$DLD/$TARGET.tar.gz | |
10 | +TARGETDIR=$TARGET | |
11 | + | |
12 | +echo $TARGET | |
13 | + | |
14 | +. $WRK/_checkRequired.sh "" | |
15 | +. $WRK/_checkOptions.sh "" | |
16 | +. $WRK/_checkTarball.sh | |
17 | +. $WRK/_checkExit.sh "$1" || exit $? | |
18 | + | |
19 | +cd $SRC | |
20 | +RemoveSrcDir | |
21 | +Extract | |
22 | + | |
23 | +TimeStart | |
24 | + | |
25 | +cd $TARGETDIR | |
26 | + | |
27 | +tar -xf $DLD/libsass-$LIBVER.tar.gz || (tarball failed && exit 1) | |
28 | + | |
29 | +pushd libsass-$LIBVER >/dev/null | |
30 | + | |
31 | +autoreconf -fi \ | |
32 | + 1> $LOG/$TARGET.00_lib.log 2>&1 || exit 1 | |
33 | + | |
34 | +Configuring | |
35 | +./configure --prefix=/usr --disable-static \ | |
36 | + 1> $LOG/$TARGET.01_conf.log 2>&1 || exit 1 | |
37 | + | |
38 | +Making | |
39 | +make \ | |
40 | + 1> $LOG/$TARGET.02_make.log 2>&1 || exit 1 | |
41 | + | |
42 | +Installing | |
43 | +porg -lp $TARGET "\ | |
44 | +make install" \ | |
45 | + 1> $LOG/$TARGET.03_install.log 2>&1 || exit 1 | |
46 | + | |
47 | +popd >/dev/null | |
48 | + | |
49 | +echo Autoconfing... | |
50 | +autoreconf -fi \ | |
51 | + 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 | |
52 | + | |
53 | +Configuring | |
54 | +./configure --prefix=/usr \ | |
55 | + 1>> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 | |
56 | + | |
57 | +Making | |
58 | +make \ | |
59 | + 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 | |
60 | + | |
61 | +Installing | |
62 | +porg -lp+ $TARGET "\ | |
63 | +make install" \ | |
64 | + 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1 | |
65 | + | |
66 | +TimeEnd | |
67 | + | |
68 | +cd .. | |
69 | +RemoveSrcDir | |
70 | +PorgingDone | |
71 | + |