Skip to content
Permalink
Newer
Older
100755 91 lines (71 sloc) 2.64 KB
February 7, 2019 15:27
1
#!/usr/bin/env beesh
2
3
# BEE_VERSION vim-8.1.1523-0
February 7, 2019 15:27
4
5
## this file was created by bee init and should be executed to build a
6
## bee-package. (Additional hints are located at the end of this file.)
7
8
###############################################################################
9
## The source URL(s) define the location of the sources that will be
10
## downloaded. Version variables may be used to simplify reuse of this bee-file.
11
12
SRCURL[0]="https://github.com/vim/vim/archive/v${PKGVERSION}.tar.gz vim-${PKGVERSION}.tar.gz"
13
14
###############################################################################
15
## Add URLs/pathes to patch files to the PATCHURL array.
16
## The sources will be patched in the order of the array.
17
18
# PATCHURL+=()
19
20
###############################################################################
21
## Uncomment the next statement, if the software may not be able to be built
22
## outside the source directory and needs to be built inside the source
23
## directory.
24
25
build_in_sourcedir
26
27
###############################################################################
28
## bee cannot detect buildtypes specified in subdirectories.
29
## Sometimes packages "hide" the real sources in a subdirectory named
30
## 'src' or 'cmake' or ..
31
## use 'sourcesubdir_append' to specify this directory if known.
32
33
# sourcesubdir_append src
34
35
BEE_BUILDTYPE=autotools
36
37
###############################################################################
38
## Change the default (auto-detected) steps to
39
## extract, patch, configure/setup, build and install the software.
40
## Make sure the mee_install function does install everything to the
41
## image directory "${D}"
42
43
#mee_extract() {
44
# bee_extract "${@}"
45
#}
46
47
#mee_patch() {
48
# bee_patch "${@}"
49
#}
50
51
mee_configure() {
52
start_cmd ${S}/configure --prefix=${PREFIX} \
53
--enable-multibyte \
54
--enable-luainterp=dynamic \
55
--enable-pythoninterp=dynamic \
56
--enable-python3interp=dynamic \
57
--enable-rubyinterp=dynamic
58
}
59
60
#mee_build() {
61
# bee_build
62
#}
63
64
#mee_install() {
65
# bee_install
66
#}
67
68
mee_install_post() {
69
ln -sv vim ${D}${BINDIR}/vi
70
ln -sv vim.1 ${D}${MANDIR}/man1/vi.1
71
}
72
73
## by default this may be 'make install DESTDIR="${D}"'
74
75
###############################################################################
76
##
77
## Additional hints:
78
##
79
## The name of this bee-file should follow the following naming convention:
80
## pkgname-pkgversion-pkgrevision.bee
81
##
82
## You may remove all comments as long as SRCURL[0] is set.
83
##
84
## Everything in this file will be executed in a bash environment.
85
##
86
## Build the package by executing
87
## './pkg-version-N.bee' or
88
## 'beesh ./pkg-version-N.bee'
89
##
90
## see http://beezinga.org/
91
##