Permalink
Newer
100755
88 lines (69 sloc)
2.91 KB
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://bioinfo.icgeb.res.in/gff/gffdownloads/GFF_v${PKGVERSION}.tar.gz"
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
PREFIX=/usr/local
40
41
###############################################################################
42
## Change the default (auto-detected) steps to
43
## extract, patch, configure/setup, build and install the software.
44
## Make sure the mee_install function does install everything to the
45
## image directory "${D}"
46
47
#mee_extract() {
48
# bee_extract "${@}"
49
#}
50
51
#mee_patch() {
52
# bee_patch "${@}"
53
#}
54
55
#mee_configure() {
56
# bee_configure
57
#}
58
59
#mee_build() {
60
# bee_build
61
#}
62
63
mee_install() {
64
start_cmd mkdir -v -p ${D}/${BINDIR} ${D}/${LIBEXECDIR}
65
start_cmd install -v -m 755 $PWD/scripts/scripts_gff-ex/* ${D}/${LIBEXECDIR}
66
start_cmd install -v -m 755 kernel/media/run/fetching_promoter_shell_A ${D}${BINDIR}/fetching_promoter_shell_A
67
start_cmd install -v -m 755 kernel/media/run/gff ${D}${BINDIR}/gff
68
start_cmd install -v -m 755 kernel/media/run/gffex ${D}${BINDIR}/gffex
69
}
70
## by default this may be 'make install DESTDIR="${D}"'
71
72
###############################################################################
73
##
74
## Additional hints:
75
##
76
## The name of this bee-file should follow the following naming convention:
77
## pkgname-pkgversion-pkgrevision.bee
78
##
79
## You may remove all comments as long as SRCURL[0]="" is set.
80
##
81
## Everything in this file will be executed in a bash environment.
82
##
83
## Build the package by executing
84
## './pkg-version-N.bee' or
85
## 'beesh ./pkg-version-N.bee'
86
##
87
## see http://beezinga.org/
88
##