Last change
on this file since 127 was
126,
checked in by landauf, 9 years ago
|
eol-style native
|
-
Property svn:eol-style set to
native
|
File size:
835 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | NAME="[pcre]" |
---|
4 | WORKING_DIR="pcre/pcre-8.38" |
---|
5 | |
---|
6 | source ./build_common.sh |
---|
7 | |
---|
8 | if [ $DO_CLEAN -eq 1 ] |
---|
9 | then |
---|
10 | make clean |
---|
11 | check_result $? "cleaning build" |
---|
12 | fi |
---|
13 | |
---|
14 | if [ $DO_BUILD -eq 1 ] |
---|
15 | then |
---|
16 | # configure |
---|
17 | ./configure --enable-utf8 |
---|
18 | check_result $? "configure" |
---|
19 | |
---|
20 | # compile |
---|
21 | make -j8 |
---|
22 | check_result $? "make" |
---|
23 | make -j8 install |
---|
24 | check_result $? "make install" |
---|
25 | |
---|
26 | # copy lib |
---|
27 | cp -a ".libs/libpcre-1.dll" ${TARGET_BIN_DIR} |
---|
28 | check_result $? "copying library" |
---|
29 | |
---|
30 | # add to ceguideps |
---|
31 | mkdir -p "${TEMP_DIR}/ceguideps/lib" |
---|
32 | check_result $? "create lib dir" |
---|
33 | mkdir -p "${TEMP_DIR}/ceguideps/include" |
---|
34 | check_result $? "create include dir" |
---|
35 | |
---|
36 | cp -a ".libs/libpcre.dll.a" "${TEMP_DIR}/ceguideps/lib" |
---|
37 | check_result $? "copy lib" |
---|
38 | cp -a "pcre.h" "${TEMP_DIR}/ceguideps/include" |
---|
39 | check_result $? "copy includes" |
---|
40 | |
---|
41 | echo "${NAME} Finished building ${NAME}" |
---|
42 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.