Skip to content
Permalink
Newer
Older
100755 132 lines (111 sloc) 5.69 KB
October 11, 2019 15:09
1
#!/usr/bin/env beesh
2
3
# BEE_VERSION perl-wrapper-1.1-1
October 11, 2019 15:09
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]=""
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() {
April 27, 2020 18:23
61
echo -e '#! /bin/bash\nprun perl-5.12.1-0 $(basename "$0") "$@"' >wrapper
October 11, 2019 15:09
62
chmod +x wrapper
63
}
64
65
mee_install() {
66
mkdir -p "$D$BINDIR"
67
68
# list generated by
April 27, 2020 18:23
69
# for cmd in $(cd /pkg/perl-5.12.1-0/bin;ls); do test -e /usr/bin/$cmd || echo $cmd;done | fmt -w 80| sed 's/.*/ & \\/'
October 11, 2019 15:09
70
#
71
for cmd in \
April 27, 2020 18:23
72
a2p bdf2gdfont.pl bp_aacomp bp_biofetch_genbank_proxy bp_bioflat_index \
73
bp_biogetseq bp_dbsplit bp_download_query_genbank bp_einfo \
74
bp_extract_feature_seq bp_fastam9_to_table bp_fetch bp_filter_search \
75
bp_find-blast-matches bp_flanks bp_gccalc bp_genbank2gff3 \
76
bp_genbank_ref_extractor bp_index bp_local_taxonomydb_query \
77
bp_make_mrna_protein bp_mask_by_search bp_mrtrans bp_mutate bp_nexus2nh \
78
bp_nrdb bp_oligo_count bp_process_gadfly bp_process_sgd bp_query_entrez_taxa \
79
bp_remote_blast.pl bp_revtrans-motif bp_search2alnblocks bp_search2gff \
80
bp_search2table bp_search2tribe bp_seq_length bp_seqconvert bp_seqcut \
81
bp_seqpart bp_seqret bp_seqretsplit bp_split_seq bp_sreformat bp_taxid4species \
82
bp_taxonomy2tree bp_translate_seq bp_tree2pag bp_unflatten_seq c2ph \
83
combig-script.sh combig.pl config_data corelist count.pl count2huge.pl cpan \
84
cpan-mirrors cpan2dist cpanel_json_xs cpanp cpanp-run-perl crc32 db_archive \
85
db_checkpoint db_deadlock db_dump db_hotbackup db_load db_printlog db_recover \
86
db_sql db_stat db_upgrade db_verify dbilogstrip dbiprof dbiproxy dm_date \
87
dm_zdump dprofpp enc2xs encguess extract_vba find-compounds.pl find2perl \
88
findrule gedi h2ph h2xs htmltree huge-count.pl huge-delete.pl huge-merge.pl \
89
huge-sort.pl huge-split.pl hypnotoad instmodsh json_pp json_xs kocos-script.sh \
90
kocos.pl l4p-tmpl leo libnetcfg lwp-download lwp-dump lwp-mirror lwp-request \
91
mech-dump mo-inline modemtest mojo moose-outdated morbo msgconvert net-server \
October 11, 2019 15:09
92
odf2pod odf_set_fields odf_set_title odfbuild odfextract odffilesearch \
93
odffindbasic odfhighlight odfmetadoc odfsearch oodoc_test oodoc_version \
April 27, 2020 18:23
94
package-stash-conflicts pdl pdl2 pdldoc perl5.12.1 perlbug perlcritic perldl \
95
perldoc perlivp perlsh perlthanks perltidy piconv pl2pm plackup pod2html \
96
pod2latex pod2man pod2text pod2usage pod_cover podchecker podselect podspell \
97
pptemplate prove psed pstruct ptar ptardiff ptargrep ptked ptksh puudecode \
98
puuencode rank-script.sh rank.pl readline_usb s2p schwartzmon shasum \
99
snmpkey splain stag-autoschema.pl stag-db.pl stag-diff.pl stag-drawtree.pl \
October 11, 2019 15:09
100
stag-filter.pl stag-findsubtree.pl stag-flatten.pl stag-grep.pl stag-handle.pl \
101
stag-itext2simple.pl stag-itext2sxpr.pl stag-itext2xml.pl stag-join.pl \
102
stag-merge.pl stag-mogrify.pl stag-parse.pl stag-query.pl stag-splitter.pl \
April 27, 2020 18:23
103
stag-view.pl stag-xml2itext.pl statistic.pl streamzip test-yaml text2odf \
104
text2table tkjpeg tpage ttree ucalc use-devel-checklib widget xpath \
105
xsubpp yamlpp5-events yamlpp5-highlight yamlpp5-load yamlpp5-load-dump \
106
yamlpp5-parse-emit zipdetails \
October 11, 2019 15:09
107
; do
108
ln "$B/wrapper" "$D$BINDIR/$cmd"
109
done
110
ln "$B/wrapper" "$D$BINDIR/perl"
111
mkdir -p "$D$PREFIX/local/bin"
112
ln -s "$BINDIR/perl" "$D$PREFIX/local/bin/perl"
October 11, 2019 15:09
113
}
114
## by default this may be 'make install DESTDIR="${D}"'
115
116
###############################################################################
117
##
118
## Additional hints:
119
##
120
## The name of this bee-file should follow the following naming convention:
121
## pkgname-pkgversion-pkgrevision.bee
122
##
123
## You may remove all comments as long as SRCURL[0] is set.
124
##
125
## Everything in this file will be executed in a bash environment.
126
##
127
## Build the package by executing
128
## './pkg-version-N.bee' or
129
## 'beesh ./pkg-version-N.bee'
130
##
131
## see http://beezinga.org/
132
##