diff --git a/perl-wrapper.be0 b/perl-wrapper.be0 new file mode 100755 index 000000000..dc9434e91 --- /dev/null +++ b/perl-wrapper.be0 @@ -0,0 +1,135 @@ +#!/usr/bin/env beesh + +# BEE_VERSION perl-wrapper-1.1-0 + +## this file was created by bee init and should be executed to build a +## bee-package. (Additional hints are located at the end of this file.) + +############################################################################### +## The source URL(s) define the location of the sources that will be +## downloaded. Version variables may be used to simplify reuse of this bee-file. + +SRCURL[0]="" + +############################################################################### +## Add URLs/pathes to patch files to the PATCHURL array. +## The sources will be patched in the order of the array. + +# PATCHURL+=() + +############################################################################### +## Add filename patterns to the EXCLUDE array of files that should not +## be added to you package but may be present in the image directory. + +# EXCLUDE+=() + +############################################################################### +## Uncomment the next statement, if the software may not be able to be built +## outside the source directory and needs to be built inside the source +## directory. + +# build_in_sourcedir + +############################################################################### +## bee cannot detect buildtypes specified in subdirectories. +## Sometimes packages "hide" the real sources in a subdirectory named +## 'src' or 'cmake' or .. +## use 'sourcesubdir_append' to specify this directory if known. + +# sourcesubdir_append src + + +############################################################################### +## Change the default (auto-detected) steps to +## extract, patch, configure/setup, build and install the software. +## Make sure the mee_install function does install everything to the +## image directory "${D}" + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +mee_build() { + echo -e '#! /bin/bash\nprun perl $(basename "$0") "$@"' >wrapper + chmod +x wrapper +} + +mee_install() { + mkdir -p "$D$BINDIR" + + # list generated by + # for cmd in $(cd /pkg/perl-5.28.1-0/bin;ls); do test -e /usr/bin/$cmd || echo $cmd;done | fmt -w 80| sed 's/.*/ & \\/' + # + for cmd in \ + ansi2html bdf2gdfont.pl bp_aacomp.pl bp_biofetch_genbank_proxy.pl \ + bp_bioflat_index.pl bp_biogetseq.pl bp_blast2tree.pl bp_bulk_load_gff.pl \ + bp_chaos_plot.pl bp_classify_hits_kingdom.pl bp_composite_LD.pl \ + bp_das_server.pl bp_dbsplit.pl bp_download_query_genbank.pl bp_einfo \ + bp_extract_feature_seq.pl bp_fast_load_gff.pl bp_fastam9_to_table.pl \ + bp_fetch.pl bp_filter_search.pl bp_find-blast-matches.pl bp_flanks.pl \ + bp_gccalc.pl bp_genbank2gff.pl bp_genbank2gff3.pl bp_genbank_ref_extractor \ + bp_generate_histogram.pl bp_heterogeneity_test.pl bp_hivq.pl \ + bp_hmmer_to_table.pl bp_index.pl bp_load_gff.pl bp_local_taxonomydb_query.pl \ + bp_make_mrna_protein.pl bp_mask_by_search.pl bp_meta_gff.pl bp_mrtrans.pl \ + bp_mutate.pl bp_netinstall.pl bp_nexus2nh.pl bp_nrdb.pl bp_oligo_count.pl \ + bp_parse_hmmsearch.pl bp_process_gadfly.pl bp_process_sgd.pl \ + bp_process_wormbase.pl bp_query_entrez_taxa.pl bp_remote_blast.pl \ + bp_revtrans-motif.pl bp_search2alnblocks.pl bp_search2gff.pl bp_search2table.pl \ + bp_search2tribe.pl bp_seq_length.pl bp_seqconvert.pl bp_seqcut.pl \ + bp_seqfeature_delete.pl bp_seqfeature_gff3.pl bp_seqfeature_load.pl \ + bp_seqpart.pl bp_seqret.pl bp_seqretsplit.pl bp_split_seq.pl bp_sreformat.pl \ + bp_taxid4species.pl bp_taxonomy2tree.pl bp_translate_seq.pl bp_tree2pag.pl \ + bp_unflatten_seq.pl combig-script.sh combig.pl config_data corelist count.pl \ + count2huge.pl cpan cpan-mirrors cpan2dist cpanel_json_xs cpanfile-dump \ + cpanp cpanp-run-perl crc32 dave dbilogstrip dbiprof dbiproxy dm_date \ + dm_zdump enc2xs encguess extract_vba find-compounds.pl findrule gedi h2ph \ + h2xs htmltree huge-count.pl huge-delete.pl huge-merge.pl huge-sort.pl \ + huge-split.pl hypnotoad instmodsh iperl json_pp json_xs kocos-script.sh \ + kocos.pl kwalitee-metrics l4p-tmpl leo libnetcfg lwp-download lwp-dump \ + lwp-mirror lwp-request markdent-html markdown2pod mech-dump mo-inline \ + modemtest mojo moose-outdated morbo msgconvert mymeta-cpanfile net-server \ + odf2pod odf_set_fields odf_set_title odfbuild odfextract odffilesearch \ + odffindbasic odfhighlight odfmetadoc odfsearch oodoc_test oodoc_version \ + package-stash-conflicts pause-permissions pdl pdl2 pdldoc perl perl5.28.1 \ + perlbug perlcritic perldl perldoc perlivp perlsh perlthanks perltidy \ + piconv pl2pm plackup pod2html pod2latex pod2man pod2text pod2usage \ + pod_cover podchecker podselect podspell pptemplate prove ptar ptardiff \ + ptargrep ptked ptksh puudecode puuencode rank-script.sh rank.pl re.pl \ + readline_usb reply scan-perl-prereqs-nqlite schwartzmon shasum snmpkey \ + splain stag-autoschema.pl stag-db.pl stag-diff.pl stag-drawtree.pl \ + stag-filter.pl stag-findsubtree.pl stag-flatten.pl stag-grep.pl stag-handle.pl \ + stag-itext2simple.pl stag-itext2sxpr.pl stag-itext2xml.pl stag-join.pl \ + stag-merge.pl stag-mogrify.pl stag-parse.pl stag-query.pl stag-splitter.pl \ + stag-view.pl stag-xml2itext.pl statistic.pl test-yaml text2odf text2table \ + tkjpeg tpage ttree ucalc use-devel-checklib widget xpath xsubpp zipdetails \ + ; do + ln "$B/wrapper" "$D$BINDIR/$cmd" + done +} +## by default this may be 'make install DESTDIR="${D}"' + +############################################################################### +## +## Additional hints: +## +## The name of this bee-file should follow the following naming convention: +## pkgname-pkgversion-pkgrevision.bee +## +## You may remove all comments as long as SRCURL[0] is set. +## +## Everything in this file will be executed in a bash environment. +## +## Build the package by executing +## './pkg-version-N.bee' or +## 'beesh ./pkg-version-N.bee' +## +## see http://beezinga.org/ +##