Mercurial > vanilla
comparison editors/nano/nano.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 297b5eef115e |
children | 57dc83a39b13 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
174 with_wrapping="--enable-wrapping" | 174 with_wrapping="--enable-wrapping" |
175 else | 175 else |
176 with_wrapping="--disable-wrapping" | 176 with_wrapping="--disable-wrapping" |
177 fi | 177 fi |
178 | 178 |
179 build() | 179 rm -rf $PKGNAME-$PKGVERSION |
180 { | 180 tar xvf $PKGNAME-$PKGVERSION.tar.xz |
181 rm -rf $PKGNAME-$PKGVERSION | 181 cd $PKGNAME-$PKGVERSION |
182 tar xvf $PKGNAME-$PKGVERSION.tar.xz | 182 |
183 cd $PKGNAME-$PKGVERSION | 183 CC="$CC" \ |
184 | 184 CFLAGS="$CFLAGS" \ |
185 CC="$CC" \ | 185 LDFLAGS="$LDFLAGS" \ |
186 CFLAGS="$CFLAGS" \ | 186 LIBS="$LIBS" \ |
187 LDFLAGS="$LDFLAGS" \ | 187 ./configure \ |
188 LIBS="$LIBS" \ | 188 --build=$CBUILD \ |
189 ./configure \ | 189 --host=$CHOST \ |
190 --build=$CBUILD \ | 190 --prefix= \ |
191 --host=$CHOST \ | 191 $with_browser \ |
192 --prefix= \ | 192 $with_color \ |
193 $with_browser \ | 193 $with_comment \ |
194 $with_color \ | 194 $with_extra \ |
195 $with_comment \ | 195 $with_help \ |
196 $with_extra \ | 196 $with_histories \ |
197 $with_help \ | 197 $with_justify \ |
198 $with_histories \ | 198 $with_libmagic \ |
199 $with_justify \ | 199 $with_linenumbers \ |
200 $with_libmagic \ | 200 $with_mouse \ |
201 $with_linenumbers \ | 201 $with_multibuffer \ |
202 $with_mouse \ | 202 $with_nanorc \ |
203 $with_multibuffer \ | 203 $with_nls \ |
204 $with_nanorc \ | 204 $with_speller \ |
205 $with_nls \ | 205 $with_tabcomp \ |
206 $with_speller \ | 206 $with_utf8 \ |
207 $with_tabcomp \ | 207 $with_wordcomp \ |
208 $with_utf8 \ | 208 $with_wrapping |
209 $with_wordcomp \ | 209 make |
210 $with_wrapping | 210 make install DESTDIR=$DESTDIR |
211 make | 211 |
212 make install DESTDIR=$DESTDIR | 212 cd .. |
213 | 213 rm -rf $PKGNAME-$PKGVERSION |
214 cd .. | |
215 rm -rf $PKGNAME-$PKGVERSION | |
216 } |