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