finalize.sh 1.41 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
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