# Contributor: arch3y # Maintainer: arch3y 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 gcc14.patch " 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 24abc6eeebd36c211fcd8ce468bc04b041f98633ec377bde0239669464c06abb64aacbb8f45773db7b850310e2c45fe7dcdd86174724c77dc3bd16204ee0a7a2 gcc14.patch "