mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
bamtools
: build shared libs
This commit is contained in:
parent
d269b70c22
commit
f71c42d586
1 changed files with 3 additions and 6 deletions
|
@ -2,22 +2,18 @@
|
|||
|
||||
pkgname=bamtools
|
||||
pkgver=2.5.2
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
pkgdesc="C++ API & command-line toolkit for working with BAM data"
|
||||
arch=('x86_64' 'i686')
|
||||
url="https://github.com/pezmaster31/bamtools"
|
||||
license=('custom')
|
||||
depends=('gcc-libs' 'zlib')
|
||||
depends=('gcc-libs' 'zlib' 'jsoncpp')
|
||||
makedepends=('cmake')
|
||||
source=($pkgname-$pkgver.tar.gz::https://github.com/pezmaster31/bamtools/archive/v$pkgver.tar.gz)
|
||||
sha256sums=('4d8b84bd07b673d0ed41031348f10ca98dd6fa6a4460f9b9668d6f1d4084dfc8')
|
||||
|
||||
prepare() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
|
||||
sed -e '/set( CMAKE_BUILD_TYPE Release )/a set( CMAKE_CXX_FLAGS_RELEASE "-std=c++98 ${CMAKE_CXX_FLAGS_RELEASE}" )' \
|
||||
-i CMakeLists.txt
|
||||
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
|
@ -27,6 +23,7 @@ build() {
|
|||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
..
|
||||
|
||||
make
|
||||
|
|
Loading…
Add table
Reference in a new issue