Skip to content
Permalink
Newer
Older
100755 97 lines (78 sloc) 3.13 KB
1
#!/usr/bin/env beesh
2
3
# BEE_VERSION glib-1.2.10-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://ftp.gtk.org/pub/gtk/v${PKGVERSION[2]}/glib-${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+=()
November 6, 2019 10:41
19
XPATCHROOT=${BEE_DOWNLOADDIR}
20
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-isowarning.patch.gz)
21
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-gcc34.patch.gz)
22
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-underquoted.patch.gz)
23
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-no_undefined.patch.gz)
24
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-multilib.patch.gz)
25
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-unused-dep.patch.gz)
26
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-autotools.patch.gz)
27
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-format.patch.gz)
28
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-gcc5.patch.gz)
29
PATCHURL+=(${XPATCHROOT}/glib-1.2.10-gcc9.patch.gz)
30
31
###############################################################################
32
## Uncomment the next statement, if the software may not be able to be built
33
## outside the source directory and needs to be built inside the source
34
## directory.
35
36
# build_in_sourcedir
37
38
###############################################################################
39
## bee cannot detect buildtypes specified in subdirectories.
40
## Sometimes packages "hide" the real sources in a subdirectory named
41
## 'src' or 'cmake' or ..
42
## use 'sourcesubdir_append' to specify this directory if known.
43
44
# sourcesubdir_append src
45
46
47
###############################################################################
48
## Change the default (auto-detected) steps to
49
## extract, patch, configure/setup, build and install the software.
50
## Make sure the mee_install function does install everything to the
51
## image directory "${D}"
52
53
#mee_extract() {
54
# bee_extract "${@}"
55
#}
56
November 6, 2019 11:06
57
mee_patch() {
58
bee_patch "${@}"
59
cp -p /usr/share/automake-1.15/config.{guess,sub} .
60
}
November 6, 2019 11:06
62
export CFLAGS='-O2 -fPIC'
63
#mee_configure() {
64
# bee_configure
65
#}
66
November 6, 2019 11:06
67
mee_build() {
68
bee_build LIBTOOL=/usr/bin/libtool
69
}
70
71
#mee_install() {
72
# bee_install
73
#}
74
## by default this may be 'make install DESTDIR="${D}"'
75
November 6, 2019 11:45
76
mee_install_post() {
77
patchelf --remove-rpath ${D}/usr/lib/libgmodule-1.2.so.0.0.10
78
patchelf --remove-rpath ${D}/usr/lib/libgthread-1.2.so.0.0.10
79
}
80
81
###############################################################################
82
##
83
## Additional hints:
84
##
85
## The name of this bee-file should follow the following naming convention:
86
## pkgname-pkgversion-pkgrevision.bee
87
##
88
## You may remove all comments as long as SRCURL[0] is set.
89
##
90
## Everything in this file will be executed in a bash environment.
91
##
92
## Build the package by executing
93
## './pkg-version-N.bee' or
94
## 'beesh ./pkg-version-N.bee'
95
##
96
## see http://beezinga.org/
97
##