Skip to content
Permalink
Newer
Older
100755 87 lines (67 sloc) 2.68 KB
June 6, 2016 09:50
1
#!/usr/bin/env beesh
2
3
# BEE_VERSION mcelog-149-0
4
May 7, 2017 14:24
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://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git/snapshot/mcelog-${PKGVERSION}.tar.gz"
June 6, 2016 09:50
13
May 7, 2017 14:24
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+=()
June 6, 2016 09:50
19
May 7, 2017 14:24
20
###############################################################################
21
## Add filename patterns to the EXCLUDE array of files that should not
22
## be added to you package but may be present in the image directory.
June 6, 2016 09:50
23
May 7, 2017 14:24
24
# EXCLUDE+=()
June 6, 2016 09:50
25
May 7, 2017 14:24
26
###############################################################################
27
## Uncomment the next statement, if the software may not be able to be built
28
## outside the source directory and needs to be built inside the source
29
## directory.
June 6, 2016 09:50
30
31
# build_in_sourcedir
32
May 7, 2017 14:24
33
###############################################################################
34
## bee cannot detect buildtypes specified in subdirectories.
35
## Sometimes packages "hide" the real sources in a subdirectory named
36
## 'src' or 'cmake' or ..
37
## use 'sourcesubdir_append' to specify this directory if known.
June 6, 2016 09:50
38
May 7, 2017 14:24
39
# sourcesubdir_append src
40
41
42
###############################################################################
43
## Change the default (auto-detected) steps to
44
## extract, patch, configure/setup, build and install the software.
45
## Make sure the mee_install function does install everything to the
46
## image directory "${D}"
June 6, 2016 09:50
47
48
#mee_extract() {
May 7, 2017 14:24
49
# bee_extract "${@}"
June 6, 2016 09:50
50
#}
51
52
#mee_patch() {
May 7, 2017 14:24
53
# bee_patch "${@}"
June 6, 2016 09:50
54
#}
55
56
#mee_configure() {
57
# bee_configure
June 6, 2016 09:50
58
#}
59
60
#mee_build() {
61
# bee_build
62
#}
63
64
mee_install() {
65
bee_install
66
install -v -m755 -d ${D}/lib/systemd/system
67
start_cmd install -v -m644 ${S}/mcelog.service ${D}/lib/systemd/system
68
}
May 7, 2017 14:24
69
## by default this may be 'make install DESTDIR="${D}"'
70
71
###############################################################################
72
##
73
## Additional hints:
74
##
75
## The name of this bee-file should follow the following naming convention:
76
## pkgname-pkgversion-pkgrevision.bee
77
##
78
## You may remove all comments as long as SRCURL[0] is set.
79
##
80
## Everything in this file will be executed in a bash environment.
81
##
82
## Build the package by executing
83
## './pkg-version-N.bee' or
84
## 'beesh ./pkg-version-N.bee'
85
##
86
## see http://beezinga.org/
87
##