mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
freebayes: update dependencies
tabixpp: add libtabixpp.so vcflib: build shared library
This commit is contained in:
parent
2826c718f5
commit
9e2fce77f5
3 changed files with 6 additions and 3 deletions
|
@ -29,4 +29,5 @@ package() {
|
|||
install -Dm 755 libtabix.a $pkgdir/usr/lib/libtabix.a
|
||||
|
||||
ln -s /usr/lib/libtabix.so.1 ${pkgdir}/usr/lib/libtabix.so
|
||||
ln -s /usr/lib/libtabix.so ${pkgdir}/usr/lib/libtabixpp.so
|
||||
}
|
||||
|
|
|
@ -46,6 +46,7 @@ prepare(){
|
|||
done
|
||||
cd ${pkgname}
|
||||
sed -i 's| contrib/tabixpp/tabix.cpp|/usr/include/tabix/tabix.cpp|g' CMakeLists.txt
|
||||
sed -i 's|vcflib STATIC|vcflib SHARED|g' CMakeLists.txt
|
||||
sed -i 's|<tabix.hpp>|<tabix/tabix.hpp>|g' src/Variant.h
|
||||
}
|
||||
build() {
|
||||
|
|
|
@ -17,12 +17,13 @@ sha256sums=('SKIP')
|
|||
prepare() {
|
||||
cd "$pkgname"
|
||||
git submodule update --init --recursive
|
||||
# find vcflib
|
||||
sed -i "s|dependency('libvcflib'|cc.find_library('libvcflib'" CMakeLists.txt
|
||||
}
|
||||
build() {
|
||||
cd "$pkgname"
|
||||
rm -rf build
|
||||
mkdir build
|
||||
meson --prefix=/usr --buildtype=debug build
|
||||
test -d build || mkdir build
|
||||
meson --prefix=/usr --buildtype=release build -Dprefer_system_deps=true
|
||||
cd build
|
||||
ninja -v
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue