-
Notifications
You must be signed in to change notification settings - Fork 0
/
doxygen.build
26 lines (26 loc) · 1.15 KB
/
doxygen.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
: Change true -> false if you have already downloaded and just want to build
if true; then
curl -L \
ftp://ftp.stack.nl/pub/users/dimitri/doxygen-@VERSION@.src.tar.gz \
> @PRODUCT@-@VERSION@.tar.gz &&
tar -xzf @PRODUCT@-@VERSION@.tar.gz &&
cd @PRODUCT@-@VERSION@ &&
if [ X@VERSION@ = X1.5.5 ]; then
perl -pi -e 's/MAC_OS_X_VERSION_MAX_ALLOWED==MAC_OS_X_VERSION_10_5/MAC_OS_X_VERSION_MAX_ALLOWED>=MAC_OS_X_VERSION_10_4/' qtools/qfiledefs_p.h
fi &&
if [ X@VERSION@ = X1.5.7.1 -o X@VERSION@ = X1.5.8 ]; then
perl -pi -e 's/\(defined\(_OS_MAC_\) \|\| defined\(Q_OS_MACX\) \)&& \(_LIBICONV_VERSION==0x010B\)\)/(defined(_OS_MAC_) || defined(Q_OS_MACX) )&& (0 && _LIBICONV_VERSION==0x010B))/' \
src/portable.cpp
fi
if [ X@VERSION@ = X1.6.1 ]; then
perl -pi -e 's/# if \(MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5\)/
\# if !defined(MAC_OS_X_VERSION_10_6)
\# define MAC_OS_X_VERSION_10_6 MAC_OS_X_VERSION_10_5 + 1
\# endif
\# if \(MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_6\)/' qtools/qglobal.h
fi
fi &&
product_dir=$(eups path 0)/$(eups flavor)/@PRODUCT@/@VERSION@ &&
./configure --prefix $product_dir &&a
make &&
make install