aports/testing/libcli/APKBUILD
2021-03-21 04:49:03 -03:00

26 lines
694 B
Plaintext

# Contributor: arch3y <arch3y@riseup.net>
# Maintainer: arch3y <arch3y@riseup.net>
pkgname=libcli
pkgver=1.10.7
pkgrel=0
pkgdesc="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="4c341260e554d7e7a4181bbc85fd2e4cd57cb3fd4304cd423af63a407950f394a318ea69588e12b1ffc845e14d836409dc087cd737b29861c62bf2e14c702a63 libcli-1.10.7.tar.gz"