Mercurial > vanilla
comparison databases/postgresql/postgresql.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 194681a6d42d |
children | 57dc83a39b13 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
139 with_zlib="--with-zlib" | 139 with_zlib="--with-zlib" |
140 else | 140 else |
141 with_zlib="--without-zlib" | 141 with_zlib="--without-zlib" |
142 fi | 142 fi |
143 | 143 |
144 build() | 144 rm -rf $PKGNAME-$PKGVERSION |
145 { | 145 tar xvf $PKGNAME-$PKGVERSION.tar.gz |
146 rm -rf $PKGNAME-$PKGVERSION | 146 cd $PKGNAME-$PKGVERSION |
147 tar xvf $PKGNAME-$PKGVERSION.tar.gz | |
148 cd $PKGNAME-$PKGVERSION | |
149 | 147 |
150 CC="$CC" \ | 148 CC="$CC" \ |
151 CFLAGS="$CFLAGS" \ | 149 CFLAGS="$CFLAGS" \ |
152 CXX="$CXX" \ | 150 CXX="$CXX" \ |
153 CXXFLAGS="$CXXFLAGS" \ | 151 CXXFLAGS="$CXXFLAGS" \ |
154 LDFLAGS="$LDFLAGS" \ | 152 LDFLAGS="$LDFLAGS" \ |
155 LIBS="$LIBS" \ | 153 LIBS="$LIBS" \ |
156 ./configure \ | 154 ./configure \ |
157 --build=$CBUILD \ | 155 --build=$CBUILD \ |
158 --host=$CHOST \ | 156 --host=$CHOST \ |
159 --prefix= \ | 157 --prefix= \ |
160 $with_completion \ | 158 $with_completion \ |
161 $with_icu \ | 159 $with_icu \ |
162 $with_llvm \ | 160 $with_llvm \ |
163 $with_nls \ | 161 $with_nls \ |
164 $with_pam \ | 162 $with_pam \ |
165 $with_perl \ | 163 $with_perl \ |
166 $with_python \ | 164 $with_python \ |
167 $with_ssl \ | 165 $with_ssl \ |
168 $with_tcl \ | 166 $with_tcl \ |
169 $with_xml \ | 167 $with_xml \ |
170 $with_xslt \ | 168 $with_xslt \ |
171 $with_zlib | 169 $with_zlib |
172 make | 170 make |
173 make install DESTDIR=$DESTDIR | 171 make install DESTDIR=$DESTDIR |
174 install -Dm0644 ../postgresql $DESTDIR/etc/rc.d/postgresql | 172 install -Dm0644 ../postgresql $DESTDIR/etc/rc.d/postgresql |
175 | 173 |
176 cd .. | 174 cd .. |
177 rm -rf $PKGNAME-$PKGVERSION | 175 rm -rf $PKGNAME-$PKGVERSION |
178 } |