Mercurial > vanilla
comparison lib/pcre/pcre.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 297b5eef115e |
children | 57dc83a39b13 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
30 : ${CXX:=clang++} | 30 : ${CXX:=clang++} |
31 : ${CXXFLAGS:=-O2} | 31 : ${CXXFLAGS:=-O2} |
32 : ${LDFLAGS:=} | 32 : ${LDFLAGS:=} |
33 : ${LIBS:=} | 33 : ${LIBS:=} |
34 | 34 |
35 build() | 35 rm -rf $PKGNAME-$PKGVERSION |
36 { | 36 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 |
37 rm -rf $PKGNAME-$PKGVERSION | 37 cd $PKGNAME-$PKGVERSION |
38 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 | |
39 cd $PKGNAME-$PKGVERSION | |
40 | 38 |
41 CC="$CC" \ | 39 CC="$CC" \ |
42 CFLAGS="$CFLAGS" \ | 40 CFLAGS="$CFLAGS" \ |
43 CXX="$CXX" \ | 41 CXX="$CXX" \ |
44 CXXFLAGS="$CXXFLAGS" \ | 42 CXXFLAGS="$CXXFLAGS" \ |
45 LDFLAGS="$LDFLAGS" \ | 43 LDFLAGS="$LDFLAGS" \ |
46 LIBS="$LIBS" \ | 44 LIBS="$LIBS" \ |
47 ./configure \ | 45 ./configure \ |
48 --build=$CBUILD \ | 46 --build=$CBUILD \ |
49 --host=$CHOST \ | 47 --host=$CHOST \ |
50 --prefix= \ | 48 --prefix= \ |
51 --enable-jit \ | 49 --enable-jit \ |
52 --enable-newline-is-anycrlf \ | 50 --enable-newline-is-anycrlf \ |
53 --enable-pcregrep-libz \ | 51 --enable-pcregrep-libz \ |
54 --enable-shared \ | 52 --enable-shared \ |
55 --enable-unicode-properties \ | 53 --enable-unicode-properties \ |
56 --enable-utf8 \ | 54 --enable-utf8 \ |
57 --with-pic | 55 --with-pic |
58 make | 56 make |
59 make install DESTDIR=$DESTDIR | 57 make install DESTDIR=$DESTDIR |
60 find $DESTDIR -type f -name "*.la" -delete | 58 find $DESTDIR -type f -name "*.la" -delete |
61 | 59 |
62 cd .. | 60 cd .. |
63 rm -rf $PKGNAME-$PKGVERSION | 61 rm -rf $PKGNAME-$PKGVERSION |
64 } |