projects/aports·blob master · refs

30 lines · 853 B

1# Contributor: arch3y <[email protected]>
2# Maintainer: arch3y <[email protected]>
3pkgname=libcli
4pkgver=1.10.7
5pkgrel=0
6pkgdesc="library for including a Cisco-like command-line interface"
7url="https://github.com/dparrish/libcli"
8arch="all"
9options="!check"
10license="LGPL-2.0-or-later"
11source="$pkgname-$pkgver.tar.gz::https://github.com/dparrish/libcli/archive/V$pkgver.tar.gz
12 gcc14.patch
13 "
14
15build() {
16 make DYNAMIC_LIB=1 STATIC_LIB=0 TESTS=1
17}
18
19check() {
20 ./clitest
21}
22
23package() {
24 make PREFIX=/usr DESTDIR="$pkgdir" STATIC_LIB=0 install
25}
26
27sha512sums="
284c341260e554d7e7a4181bbc85fd2e4cd57cb3fd4304cd423af63a407950f394a318ea69588e12b1ffc845e14d836409dc087cd737b29861c62bf2e14c702a63 libcli-1.10.7.tar.gz
2924abc6eeebd36c211fcd8ce468bc04b041f98633ec377bde0239669464c06abb64aacbb8f45773db7b850310e2c45fe7dcdd86174724c77dc3bd16204ee0a7a2 gcc14.patch
30"