blob: dc32de5537a07e482859fa07514f83337bddf543 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Grigory Kirillov <txgk@bk.ru>
pkgname=htslib
pkgver=1.15.1
pkgrel=1
pkgdesc="C library for high-throughput sequencing data formats"
url="https://github.com/samtools/htslib"
arch="all"
license="MIT AND BSD-3-Clause-Modification"
options="!check" # no test suite
makedepends="
bzip2-dev
curl-dev
libdeflate-dev
xz-dev
zlib-dev
"
source="https://github.com/samtools/htslib/releases/download/$pkgver/htslib-$pkgver.tar.bz2"
subpackages="
$pkgname-static
$pkgname-dev
$pkgname-tools:_tools
$pkgname-doc
"
build() {
./configure \
--target="$CTARGET" \
--build="$CBUILD" \
--host="$CHOST" \
--prefix=/usr \
--enable-libcurl \
--with-libdeflate \
--with-plugin-dir=/usr/lib/htslib/plugins
make
}
_tools() {
pkgdesc="Utilities for high-throughput sequencing data formats"
amove /usr/bin
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
69d0c7f3ac50a9b9c579e9b3479b6745fc30d0ac838ff14695cf4e3da593854350e345ed1f4a496931ef57395f3416da4316903488f3e641f1e00fec544f3620 htslib-1.15.1.tar.bz2
"
|