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