summaryrefslogtreecommitdiff
path: root/testing/libcli/APKBUILD
blob: f3fdf55a0b9600a1d42ee888d776aa425d03773f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: arch3y <arch3y@riseup.net>
# Maintainer: arch3y <arch3y@riseup.net>
pkgname=libcli
pkgver=1.9.7
pkgrel=2
pkgdesc="A library for including a Cisco-like command-line interface"
url="https://github.com/dparrish/libcli"
arch="all"
options="!check"
license="LGPL2+"
source="$pkgname-$pkgver.tar.gz::https://github.com/dparrish/libcli/archive/v$pkgver.tar.gz
	gcc-5.2-fix.patch"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="b2dacfd40bc068ddcc0dc3d60576ef2f7d7e2af80b93c6e7ae899d654afca6f0f8d2df2b33c9c8e760bdbea9aa2eaf757029d46032dcf307341f78f1a8f4f66f  libcli-1.9.7.tar.gz
4e8a3741e79f764a006bf6822ae503d6e8ff6a67a984f03e2006ed393f78b259846c64640288ee5f59074eb1730e41ec1af3b7f5307885c8e671b1096a9bea15  gcc-5.2-fix.patch"