aboutsummaryrefslogblamecommitdiffstats
path: root/testing/libcli/APKBUILD
blob: fc742ca39c520af499394e9dcc2ded79c8b3b9b7 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                         

             



                                                                     
                           
                                                                                            

         




                                               


           
                                                               

 
                                                                                                                                                                   
# 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"