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

6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
apt-get remove --purge \
  make \
  gcc \
  autoconf \
  bison \
  re2c \
  file \
  flex \
  libxpm-dev \
  libsasl2-dev \
  libpspell-dev \
  libreadline-dev \
  libaspell-dev \
  libxml2-dev \
  libbz2-dev \
  libzip-dev \
  zlib1g-dev \
  libcurl4-openssl-dev \
  libc-client-dev \
  libfreetype6-dev \
  libpng12-dev \
  libmcrypt-dev \
  libtidy-dev \
  libxslt1-dev \
  libgnutls-dev \
  krb5-multidev \
  libapparmor-dev \
  libapr1-dev \
  libaprutil1-dev \
  libbsd-dev \
  libdb-dev \
  libdb5.3-dev \
  libexpat1-dev \
  libfontconfig1-dev \
  libgcrypt11-dev \
  libgcrypt20-dev \
  libgd-dev \
  libglib2.0-dev \
  libgmp3-dev \
  libgpg-error-dev \
  libice-dev \
  libjbig-dev \
  libjpeg-dev \
  libjpeg-turbo8-dev \
  libjpeg8-dev \
  libkrb5-dev \
  libldap2-dev \
  libltdl-dev \
  liblzma-dev \
  libmagic-dev \
  libmhash-dev \
  libmysqlclient-dev \
  libonig-dev \
  libpcre3-dev \
  libpq-dev \
  libqdbm-dev \
  librecode-dev \
  libsctp-dev \
  libsm-dev \
  libsqlite3-dev \
  libsystemd-dev \
  libtiff5-dev \
  libvpx-dev \
  libwebp-dev \
  libxmlrpc-epi-dev \
  libxmltok1-dev \
  libxt-dev \
  unixodbc-dev \
  uuid-dev \
  #


78
79
80
81
82
83
84
85
86
87
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