finalize.sh 2.33 KB
Newer Older
1
2
3
4
5
#!/bin/bash
set -e
source /pd_build/buildconfig
set -x

6
apt-get remove -y --purge \
7
8
  autoconf \
  bison \
9
  dpkg-dev \
10
11
  file \
  flex \
12
  gcc \
13
14
15
16
  krb5-multidev \
  libapparmor-dev \
  libapr1-dev \
  libaprutil1-dev \
17
  libaspell-dev \
18
  libbsd-dev \
19
20
21
  libbz2-dev \
  libc-client2007e-dev \
  libcurl4-openssl-dev \
22
23
24
25
  libdb-dev \
  libdb5.3-dev \
  libexpat1-dev \
  libfontconfig1-dev \
26
  libfreetype6-dev \
27
28
29
30
31
  libgcrypt11-dev \
  libgcrypt20-dev \
  libgd-dev \
  libglib2.0-dev \
  libgmp3-dev \
32
  libgnutls-dev \
33
34
  libgpg-error-dev \
  libice-dev \
35
  libidn11-dev \
36
37
38
39
40
41
42
43
44
  libjbig-dev \
  libjpeg-dev \
  libjpeg-turbo8-dev \
  libjpeg8-dev \
  libkrb5-dev \
  libldap2-dev \
  libltdl-dev \
  liblzma-dev \
  libmagic-dev \
45
  libmcrypt-dev \
46
47
48
49
  libmhash-dev \
  libmysqlclient-dev \
  libonig-dev \
  libpcre3-dev \
50
  libpng12-dev \
51
  libpq-dev \
52
  libpspell-dev \
53
  libqdbm-dev \
54
  libreadline-dev \
55
  librecode-dev \
56
  libsasl2-dev \
57
58
59
  libsctp-dev \
  libsm-dev \
  libsqlite3-dev \
60
  libssl-dev \
61
  libsystemd-dev \
62
  libtidy-dev \
63
  libtiff5-dev \
64
  libtool \
65
66
  libvpx-dev \
  libwebp-dev \
67
  libxml2-dev \
68
69
  libxmlrpc-epi-dev \
  libxmltok1-dev \
70
71
  libxpm-dev \
  libxslt1-dev \
72
  libxt-dev \
73
74
75
76
  libzip-dev \
  make \
  pkg-config \
  re2c \
77
78
  unixodbc-dev \
  uuid-dev \
79
  zlib1g-dev \
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
  autotools-dev \
  binutils \
  comerr-dev \
  cpp \
  cpp-5 \
  gcc-5 \
  icu-devtools \
  libasan2 \
  libatomic1 \
  libbison-dev \
  libc-client2007e \
  libc-dev-bin \
  libc6-dev \
  libcc1-0 \
  libcilkrts5 \
  libdpkg-perl \
  libfl-dev \
  libgcc-5-dev \
  libgmp-dev \
  libgmpxx4ldbl \
  libgnutls-openssl27 \
  libgnutlsxx28 \
  libgssrpc4 \
  libicu-dev \
  libisl15 \
  libitm1 \
  libkadm5clnt-mit9 \
  libkadm5srv-mit9 \
  libkdb5-8 \
  liblsan0 \
  libmagic1 \
  libmpc3 \
  libmpfr4 \
  libmpx0 \
  libp11-kit-dev \
  libpam0g-dev \
  libpthread-stubs0-dev \
  libquadmath0 \
  libreadline6-dev \
  libsigsegv2 \
  libstdc++-5-dev \
  libtasn1-6-dev \
  libtinfo-dev \
  libtsan0 \
  libubsan0 \
  libx11-dev \
  libxau-dev \
  libxcb1-dev \
  libxdmcp-dev \
  linux-libc-dev \
  m4 \
  mlock \
  nettle-dev \
  x11proto-core-dev \
  x11proto-input-dev \
  x11proto-kb-dev \
  xorg-sgml-doctools \
  xtrans-dev \
138
139
140
  #


141

142
143
144
145
146
147
148
149
150
151
apt-get clean
rm -rf \
	/var/lib/apt/lists/* \
	/tmp/* \
	/var/tmp/* \
	/usr/local/src/* \
	/usr/include/php/20151012/ext/apcu/ \
	#

rm -rf /pd_build