Skip to content
Permalink
Newer
Older
100755 79 lines (58 sloc) 2.5 KB
June 13, 2016 13:42
1
#!/usr/bin/env beesh
2
3
# BEE_VERSION xscreensaver-5.45-0
4
June 13, 2016 13:42
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://www.jwz.org/xscreensaver/xscreensaver-${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[0]=""
June 13, 2016 13:42
19
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.
23
24
# EXCLUDE+=()
25
26
###############################################################################
27
## Uncomment the next statement, if the software may not be able to be build
28
## outside the source directory and need to be build inside the source
29
## directory.
30
31
build_in_sourcedir
June 13, 2016 13:42
32
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.
38
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}"
47
48
#mee_extract() {
49
# bee_extract "${@}"
50
#}
51
52
#mee_patch() {
53
# bee_patch "${@}"
54
#}
55
August 28, 2019 13:10
56
mee_configure() {
57
start_cmd sed 's/gdmflexiserver -ls/dm-tool switch-to-greeter/' -i ${S}/configure
58
# can't find configure switch to do this. 'with-login-manager' doesn't work like expected
August 28, 2019 13:10
59
bee_configure \
60
--with-setuid-hacks=no \
61
--with-setcap-hacks=no
August 28, 2019 13:10
62
}
June 13, 2016 13:42
63
64
#mee_build() {
65
# bee_build
66
#}
67
68
mee_install() {
69
bee_install \
70
install_prefix="${D}"
71
72
# Use blank mode as default to reduce power usage
73
start_cmd sed -i 's/\*mode:.*/\*mode:\t\t\tblank/g' "${D}${DATADIR}/X11/app-defaults/XScreenSaver"
June 13, 2016 13:42
74
}
75
## by default this may be 'make install DESTDIR="${D}"'
76
August 28, 2019 13:10
77
#mee_install_post() {
78
# exit
79
#}