commit 377ada5f706e0d46815411e009df0ad3e1710d68 parent 6c3ee3b0e41342841cbc36ea3a3c9ba69aef04e6 Author: Daniel Bainton <dpb@driftaway.org> Date: Wed, 26 Feb 2014 11:01:52 +0200 add vim Diffstat:
A | pkgs/vim | | | 24 | ++++++++++++++++++++++++ |
1 file changed, 24 insertions(+), 0 deletions(-)
diff --git a/pkgs/vim b/pkgs/vim @@ -0,0 +1,24 @@ +url=ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2 + +fetch() { + wget -c $url -O src/vim-7.4.tar.bz2 +} + +unpack() { + cd src + [ -d vim-7.4 ] || tar xjf vim-7.4.tar.bz2 + cd - +} + +build() { + cd src/vim74 + CC=x86_64-linux-musl-gcc LDFLAGS=-static ./configure --prefix=/ --enable-multibyte || return 1 + make -j$nprocs || return 1 + cd - +} + +install() { + cd src/vim74 + make DESTDIR="$root" install || return 1 + cd - +}