aports/testing/libcli/APKBUILD
2019-08-22 18:43:35 -03:00

26 lines
696 B
Plaintext

# Contributor: arch3y <arch3y@riseup.net>
# Maintainer: arch3y <arch3y@riseup.net>
pkgname=libcli
pkgver=1.10.0
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="0d8aaad55982581aef637a30f8824557d8460f95503d9731df15a176af7a5b928945bacff0d0cbbc1f4c196ac0c7bc207197cca1873f8f57cd511962f1bbed19 libcli-1.10.0.tar.gz"