mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: nano and vim
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
name=vim
|
||||
revision=1
|
||||
from_source=vim
|
||||
imagedeps="base-devel"
|
||||
hostdeps="xgcc xbinutils"
|
||||
deps="ncurses mlibc"
|
||||
|
||||
configure() {
|
||||
cp -rp ${source_dir}/* .
|
||||
vim_cv_toupper_broken="no" \
|
||||
ac_cv_small_wchar_t="no" \
|
||||
ac_cv_func_sigsetjmp="no" \
|
||||
vim_cv_terminfo="yes" \
|
||||
vim_cv_tgetent="zero" \
|
||||
vim_cv_tty_group="" \
|
||||
vim_cv_tty_mode="0620" \
|
||||
vim_cv_getcwd_broken="no" \
|
||||
vim_cv_timer_create="no" \
|
||||
vim_cv_timer_create_with_lrt="no" \
|
||||
vim_cv_stat_ignores_slash="no" \
|
||||
vim_cv_memmove_handles_overlap="yes" \
|
||||
vim_cv_bcopy_handles_overlap="yes" \
|
||||
vim_cv_memcpy_handles_overlap="yes" \
|
||||
./configure --host=x86_64-astral --prefix=${prefix} --with-tlib=tinfo --disable-gtktest --disable-cion-cache-update --disable-desktop-database-update --disable-canberra --disable-selinux --disable-xsmp --disable-channel --disable-netbeans --enable-multibyte --disable-acl --disable-gpm --disable-sysmous --disable-nls --enable-gui="no" --without-x
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
install() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
|
||||
mkdir -p ${dest_dir}/bin
|
||||
pushd ${dest_dir}/bin
|
||||
ln -sv ${prefix}/bin/vim vi
|
||||
popd
|
||||
}
|
||||
Reference in New Issue
Block a user