As it happened in the past with asn2all, ncbi-tools has many optional programs which are not installed by default (look for 'asn2all' at ncbi/make/makenet.unx, inside the package source). asn2asn is one of such programs, which is useful to translate NCBI ASN.1 binary files into ASN.1 textual ones (and vice-versa), using less memory than other alternative programs (for instance, asn2all). Reproducible: Always
Created attachment 112466 [details, diff] Patch for sci-biology/ncbi-tools This patch allows setting up the additional programs to compile using EXTRA_VIB environment variable.
Created attachment 112467 [details] Ebuild which uses the previous patch to compile and install asn2asn This ebuild is based on sci-biology/ncbi-tools-20061015. It uses the instrumentation provided by the submitted patch, so optional NCBI programs to compile and install can be set up using EXTRA_VIB variable. This ebuild sets up that variable to asn2all and asn2asn, and future ebuilds/needs can change it.
Hiya Jose, Could you please attach a diff between your ebuild and the ncbi-tools-20061015.ebuild ? It would be so much nicer! Thanks, je_fro
Created attachment 112471 [details, diff] Patch for ncbi-tools-20061015.ebuild This patch must be applied on ncbi-tools-20061015.ebuild, so it becomes ncbi-tools-20061015-r1.ebuild. It adds to the ebuild the capability to compile and install optional NCBI programs, like asn2all or asn2asn.
Hi José, Thanks for your work. I just added your patch to Portage.