Mercurial > vanilla
comparison editors/vim/vim.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 |
---|---|
115 with_terminal="--enable-terminal" | 115 with_terminal="--enable-terminal" |
116 else | 116 else |
117 with_terminal="--disable-terminal" | 117 with_terminal="--disable-terminal" |
118 fi | 118 fi |
119 | 119 |
120 build() | 120 rm -rf $PKGNAME-$PKGVERSION |
121 { | 121 tar xvf v$PKGVERSION.tar.gz |
122 rm -rf $PKGNAME-$PKGVERSION | 122 cd $PKGNAME-$PKGVERSION |
123 tar xvf v$PKGVERSION.tar.gz | |
124 cd $PKGNAME-$PKGVERSION | |
125 | 123 |
126 CC="$CC" \ | 124 CC="$CC" \ |
127 CFLAGS="$CFLAGS" \ | 125 CFLAGS="$CFLAGS" \ |
128 LDFLAGS="$LDFLAGS" \ | 126 LDFLAGS="$LDFLAGS" \ |
129 LIBS="$LIBS" \ | 127 LIBS="$LIBS" \ |
130 ./configure \ | 128 ./configure \ |
131 --prefix= \ | 129 --prefix= \ |
132 --disable-selinux \ | 130 --disable-selinux \ |
133 --disable-luainterp \ | 131 --disable-luainterp \ |
134 --disable-pythoninterp \ | 132 --disable-pythoninterp \ |
135 $with_acl \ | 133 $with_acl \ |
136 $with_gpm \ | 134 $with_gpm \ |
137 $with_gui \ | 135 $with_gui \ |
138 $with_libcanberra \ | 136 $with_libcanberra \ |
139 $with_multibyte \ | 137 $with_multibyte \ |
140 $with_nls \ | 138 $with_nls \ |
141 $with_perl \ | 139 $with_perl \ |
142 $with_python \ | 140 $with_python \ |
143 $with_ruby \ | 141 $with_ruby \ |
144 $with_tcl \ | 142 $with_tcl \ |
145 $with_terminal | 143 $with_terminal |
146 make | 144 make |
147 make install DESTDIR=$DESTDIR | 145 make install DESTDIR=$DESTDIR |
148 | 146 |
149 cd .. | 147 cd .. |
150 rm -rf $PKGNAME-$PKGVERSION | 148 rm -rf $PKGNAME-$PKGVERSION |
151 } |