mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 19:32:44 +01:00
26 lines
694 B
Plaintext
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"
|