aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libmdf/APKBUILD
blob: 995d6759dec90be52c310b7e82f4a46c5535ee94 (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
# Contributor: Henrik Holst <henrik.holst@millistream.com>
# Maintainer:
pkgname=libmdf
pkgver="1.0.20"
pkgrel=1
pkgdesc="Millistream Data Feed API library"
url="https://millistream.com"
arch="all"
license="LGPL-3.0"
depends=""
makedepends="libressl-dev zlib-dev"
install=""
subpackages="$pkgname-dev"
source="ftp://ftp1.millistream.com/sources/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
    cd "$builddir"
    ./configure --prefix=/usr
    make
}

check() {
    cd "$builddir"
    make check
}

package() {
    cd "$builddir"
    make DESTDIR="$pkgdir" install
}

sha512sums="b6e496839090067e481d21cbdcee473538941979ada1ad44130522d49f8ae276f68c0b073e28651d733046d72dcc1f5d6369c318ea709bc49dbff1354144c400  libmdf-1.0.20.tar.gz"