mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
vcflib:add wfa2-lib to depends.
bwa: provide shared lib
This commit is contained in:
parent
b0a142c5b1
commit
cfb9f9f9af
2 changed files with 11 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
# Maintainer: PumpkinCheshire <sollyonzou at gmail dot com>
|
||||
|
||||
pkgname=bwa
|
||||
pkgver=0.7.17.r27.g3ddd7b8
|
||||
pkgrel=3
|
||||
pkgver=0.7.17.r54.g139f68f
|
||||
pkgrel=1
|
||||
pkgdesc="Burrows-Wheeler Aligner maps low-divergent sequences against a large reference genome. https://doi.org/10.1093/bioinformatics/btp324"
|
||||
arch=('x86_64')
|
||||
url="http://bio-bwa.sourceforge.net/"
|
||||
|
@ -18,7 +18,12 @@ pkgver() {
|
|||
|
||||
build() {
|
||||
cd "$srcdir/${pkgname}"
|
||||
sed -i "/CFLAGS=/ s|$| -fPIC|" Makefile
|
||||
make
|
||||
install -Dm644 libbwa.a lib/libbwa.a
|
||||
cd lib
|
||||
ar -x libbwa.a
|
||||
gcc -shared *.o -o libbwa.so
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@ -26,4 +31,5 @@ package() {
|
|||
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" ${pkgname}/COPYING
|
||||
cd $srcdir/${pkgname}
|
||||
install -Dm644 *.h -t "${pkgdir}/usr/include/bwa"
|
||||
install -Dm755 lib/libbwa.so -t "${pkgdir}/usr/lib"
|
||||
}
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Maintainer: Guoyi
|
||||
pkgname=vcflib
|
||||
pkgver=1.0.9
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="C++ library and cmdline tools for parsing and manipulating VCF files doi: 10.1101/2021.05.21.445151"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/vcflib/vcflib"
|
||||
license=('MIT')
|
||||
depends=('python' 'htslib')
|
||||
makedepends=('git' 'cmake' 'pybind11' 'tabixpp' 'pandoc' 'wfa2-lib')
|
||||
depends=('python' 'htslib' 'wfa2-lib')
|
||||
makedepends=('git' 'cmake' 'pybind11' 'tabixpp' 'pandoc')
|
||||
optdepends=('r: running R scripts'
|
||||
'perl: running Perl scripts'
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue