-
Notifications
You must be signed in to change notification settings - Fork 0
Permalink
bee-files/mesa-demos.be0
Newer
100755
98 lines (76 sloc)
2.95 KB
3
# BEE_VERSION mesa-demos-8.4.0-1
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://mesa.freedesktop.org/archive/demos/mesa-demos-${PKGVERSION}.tar.bz2"
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
## 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 built
28
## outside the source directory and needs to be built inside the source
29
## directory.
30
31
# build_in_sourcedir
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
56
#mee_configure() {
57
# bee_configure
58
#}
59
60
#mee_build() {
61
# bee_build
62
#}
63
64
# Install all the demos (including the pointless ones) at first, in a
65
# temporary location:
66
mee_install() {
67
start_cmd make install DESTDIR=${D}/cruft
68
}
69
70
# Install gears and glinfo, as well as a few other demos:
71
mee_install_post() {
72
mkdir -p ${D}/usr/bin
73
for demo in gears glinfo glthreads glxcontexts glxdemo glxgears \
74
glxgears_fbconfig glxheads glxinfo glxpbdemo glxpixmap ; do
75
mv --verbose ${D}/cruft/usr/bin/$demo ${D}/usr/bin
76
done
77
# Remove cruft:
78
rm -rf ${D}/cruft
79
}
80
81
82
###############################################################################
83
##
84
## Additional hints:
85
##
86
## The name of this bee-file should follow the following naming convention:
87
## pkgname-pkgversion-pkgrevision.bee
88
##
89
## You may remove all comments as long as SRCURL[0] is set.
90
##
91
## Everything in this file will be executed in a bash environment.
92
##
93
## Build the package by executing
94
## './pkg-version-N.bee' or
95
## 'beesh ./pkg-version-N.bee'
96
##
97
## see http://beezinga.org/
98
##