diff options
Diffstat (limited to 'unmaintained/libcli/APKBUILD')
-rw-r--r-- | unmaintained/libcli/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/libcli/APKBUILD b/unmaintained/libcli/APKBUILD new file mode 100644 index 0000000000..a4d54e13b3 --- /dev/null +++ b/unmaintained/libcli/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=libcli +pkgver=1.9.7 +pkgrel=0 +pkgdesc="A library for including a Cisco-like command-line interface" +url="https://github.com/dparrish/libcli" +arch="all" +license="LGPL2+" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="https://github.com/dparrish/libcli/archive/v$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + make PREFIX=/usr DESTDIR="$pkgdir" install || return 1 +} + +md5sums="f33e0fdb8ae8e14e66036424704b201b v1.9.7.tar.gz" +sha256sums="7ddda6b6e044a1498cf3a27e49ed5d7b97840bbe5a036c43fb0532b5e431886c v1.9.7.tar.gz" +sha512sums="b2dacfd40bc068ddcc0dc3d60576ef2f7d7e2af80b93c6e7ae899d654afca6f0f8d2df2b33c9c8e760bdbea9aa2eaf757029d46032dcf307341f78f1a8f4f66f v1.9.7.tar.gz" |