Package Details: bamtools 2.5.1-1

Git Clone URL: (read-only, click to copy)
Package Base: bamtools
Description: C++ API & command-line toolkit for working with BAM data
Upstream URL:
Licenses: custom
Submitter: stratust
Maintainer: mys_721tx
Last Packager: TheGoliath
Votes: 3
Popularity: 0.000000
First Submitted: 2012-01-16 06:11
Last Updated: 2020-01-20 19:12

Latest Comments

wookietreiber commented on 2017-06-30 11:05

@confusedfla: this package installs /usr/include/bamtools/api/BamReader.h - the problem is, that you need to

#include <bamtools/api/BamReader.h>

i.e. whith angle brackets, not double quotes. Double quotes should be used only for headers *within* your project, see

confusedfla commented on 2017-06-30 10:04

How about patching the paths, s.t. it can nicely included by default with e.g. "bamtools/api/Reader.h" and no include paths need to be provided manually?

It would be as simple as adding this patching to the prepare():

sed -i "s/api\//bamtools\/api\//g" $(find $scrdir -name "*.h" -o -name "*.h")
mkdir -p src/$pkgname
[ ! -e src/$pkgname/api ] && ln -s $(realpath src/api) src/$pkgname/api