aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libcli/APKBUILD
blob: a7893ee5b3354fbb238281eb03a3a647bc3dda94 (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
# Contributor: arch3y <arch3y@riseup.net>
# Maintainer: arch3y <arch3y@riseup.net>
pkgname=libcli
pkgver=1.10.2
pkgrel=0
pkgdesc="A library for including a Cisco-like command-line interface"
url="https://github.com/dparrish/libcli"
arch="all"
options="!check"
license="LGPL-2.0-or-later"
source="$pkgname-$pkgver.tar.gz::https://github.com/dparrish/libcli/archive/V$pkgver.tar.gz"

build() {
	make DYNAMIC_LIB=1 STATIC_LIB=0 TESTS=1
}

check() {
	./clitest
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" STATIC_LIB=0 install
}

sha512sums="f09817683d298da0b6c71253f8560b76b6a706589804a1c6afe87ce8ae37b8b3430b15380b0807cb805de0fd87753f95bbc1c174ea1c7e561fcff56f0f55c960  libcli-1.10.2.tar.gz"