From 704fd4c373c7048366167e331df71e8d4ab40f23 Mon Sep 17 00:00:00 2001 From: Niclas Hofmann Date: Thu, 7 Feb 2019 15:27:30 +0100 Subject: [PATCH] Add vim-8.1.0877 --- vim-7.4_p164-1.bee | 38 ------------------- vim.be0 | 91 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+), 38 deletions(-) delete mode 100755 vim-7.4_p164-1.bee create mode 100755 vim.be0 diff --git a/vim-7.4_p164-1.bee b/vim-7.4_p164-1.bee deleted file mode 100755 index eeab5ffb6..000000000 --- a/vim-7.4_p164-1.bee +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/env beesh - -SRCURL[0]="ftp://ftp.vim.org/pub/vim/unix/vim-${PKGVERSION}.tar.bz2" - -patches=${PKGEXTRAVERSION#p} - -for (( i=0 ; i < $patches ; i++ )) ; do - patchversion=$(printf '%03d' $(( $i + 1 )) ) - PATCHURL[$i]="ftp://ftp.vim.org/pub/vim/patches/${PKGVERSION}/${PKGVERSION}.${patchversion} vim-${PKGVERSION}.${patchversion}.patch" -done - -EXCLUDE+=("/usr/share/man/..$") -EXCLUDE+=("/usr/share/man/../") -EXCLUDE+=("/usr/share/man/.._") -EXCLUDE+=("/usr/share/man/..\.") - -BEE_BUILDTYPE=autotools - -mee_patch_post() { - echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h - sed -i src/Makefile -e 's,$(PERLLIB)/ExtUtils/xsubpp,/usr/local/bin/xsubpp,' -} - -mee_configure() { - start_cmd ${S}/configure --prefix=${PREFIX} \ - --enable-multibyte \ - --enable-luainterp=dynamic \ - --enable-perlinterp=dynamic \ - --enable-pythoninterp=dynamic \ - --enable-tclinterp=dynamic \ - --enable-rubyinterp=dynamic -} - -mee_install_post() { - ln -sv vim ${D}${BINDIR}/vi - ln -sv vim.1 ${D}${MANDIR}/man1/vi.1 -} - diff --git a/vim.be0 b/vim.be0 new file mode 100755 index 000000000..5d30d34a0 --- /dev/null +++ b/vim.be0 @@ -0,0 +1,91 @@ +#!/usr/bin/env beesh + +# BEE_VERSION vim-8.1.0877-0 + +## this file was created by bee init and should be executed to build a +## bee-package. (Additional hints are located at the end of this file.) + +############################################################################### +## The source URL(s) define the location of the sources that will be +## downloaded. Version variables may be used to simplify reuse of this bee-file. + +SRCURL[0]="https://github.com/vim/vim/archive/v${PKGVERSION}.tar.gz vim-${PKGVERSION}.tar.gz" + +############################################################################### +## Add URLs/pathes to patch files to the PATCHURL array. +## The sources will be patched in the order of the array. + +# PATCHURL+=() + +############################################################################### +## Uncomment the next statement, if the software may not be able to be built +## outside the source directory and needs to be built inside the source +## directory. + +build_in_sourcedir + +############################################################################### +## bee cannot detect buildtypes specified in subdirectories. +## Sometimes packages "hide" the real sources in a subdirectory named +## 'src' or 'cmake' or .. +## use 'sourcesubdir_append' to specify this directory if known. + +# sourcesubdir_append src + +BEE_BUILDTYPE=autotools + +############################################################################### +## Change the default (auto-detected) steps to +## extract, patch, configure/setup, build and install the software. +## Make sure the mee_install function does install everything to the +## image directory "${D}" + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +mee_configure() { + start_cmd ${S}/configure --prefix=${PREFIX} \ + --enable-multibyte \ + --enable-luainterp=dynamic \ + --enable-pythoninterp=dynamic \ + --enable-python3interp=dynamic \ + --enable-rubyinterp=dynamic +} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} + +mee_install_post() { + ln -sv vim ${D}${BINDIR}/vi + ln -sv vim.1 ${D}${MANDIR}/man1/vi.1 +} + +## by default this may be 'make install DESTDIR="${D}"' + +############################################################################### +## +## Additional hints: +## +## The name of this bee-file should follow the following naming convention: +## pkgname-pkgversion-pkgrevision.bee +## +## You may remove all comments as long as SRCURL[0] is set. +## +## Everything in this file will be executed in a bash environment. +## +## Build the package by executing +## './pkg-version-N.bee' or +## 'beesh ./pkg-version-N.bee' +## +## see http://beezinga.org/ +##