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
|
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.1 ${pkgdir}/usr/lib/libtabix.so
|
||||||
|
ln -s /usr/lib/libtabix.so ${pkgdir}/usr/lib/libtabixpp.so
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,7 @@ prepare(){
|
||||||
done
|
done
|
||||||
cd ${pkgname}
|
cd ${pkgname}
|
||||||
sed -i 's| contrib/tabixpp/tabix.cpp|/usr/include/tabix/tabix.cpp|g' CMakeLists.txt
|
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
|
sed -i 's|<tabix.hpp>|<tabix/tabix.hpp>|g' src/Variant.h
|
||||||
}
|
}
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -17,12 +17,13 @@ sha256sums=('SKIP')
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$pkgname"
|
cd "$pkgname"
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
# find vcflib
|
||||||
|
sed -i "s|dependency('libvcflib'|cc.find_library('libvcflib'" CMakeLists.txt
|
||||||
}
|
}
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname"
|
cd "$pkgname"
|
||||||
rm -rf build
|
test -d build || mkdir build
|
||||||
mkdir build
|
meson --prefix=/usr --buildtype=release build -Dprefer_system_deps=true
|
||||||
meson --prefix=/usr --buildtype=debug build
|
|
||||||
cd build
|
cd build
|
||||||
ninja -v
|
ninja -v
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue