aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libsmi
diff options
context:
space:
mode:
authorMikolaj Chwalisz <chwalisz@tkn.tu-berlin.de>2016-11-04 11:04:17 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-11-17 14:31:01 +0100
commit27890ec72f09aa491d5317b9106021ea265be3b7 (patch)
tree0c98981c06fc69962e2b77663318c228aefb9fd5 /testing/libsmi
parent8806e9068e791f169a77d04411cc4a297441bf3d (diff)
downloadaports-27890ec72f09aa491d5317b9106021ea265be3b7.tar.bz2
aports-27890ec72f09aa491d5317b9106021ea265be3b7.tar.xz
testing/libsmi: new aport
https://www.ibr.cs.tu-bs.de/projects/libsmi/ Library to access SMI management information
Diffstat (limited to 'testing/libsmi')
-rw-r--r--testing/libsmi/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/libsmi/APKBUILD b/testing/libsmi/APKBUILD
new file mode 100644
index 0000000000..0ce3cf9fbb
--- /dev/null
+++ b/testing/libsmi/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Mikolaj Chwalisz <chwalisz@tkn.tu-berlin.de>
+# Maintainer: Mikolaj Chwalisz <chwalisz@tkn.tu-berlin.de>
+pkgname=libsmi
+pkgver="0.5.0"
+pkgrel=0
+pkgdesc="Library to access SMI management information"
+url="https://www.ibr.cs.tu-bs.de/projects/libsmi/"
+arch="all"
+license="GPLv2+ BSD"
+depends=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.ibr.cs.tu-bs.de/projects/libsmi/download/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="4bf47483c06c9f07d1b10fbc74eddf11 libsmi-0.5.0.tar.gz"
+sha256sums="f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c725754d3 libsmi-0.5.0.tar.gz"
+sha512sums="be82e6b7054426e4634ac9d90467b89a51a9c836273c9d516f07ff3cec3a8dcc8b3bb0e0396d5facec3d9c952b17fb67f24ff2d3959e7e5cf9eced72023a0708 libsmi-0.5.0.tar.gz"