aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mdevd
diff options
context:
space:
mode:
authorLaurent Bercot <ska-devel@skarnet.org>2018-04-02 23:09:13 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-04-05 17:46:21 +0200
commit5333ec4645d3267e2a9169d5b16a562055e23987 (patch)
tree37ccc605cf029a121286d7d1126ad381d7cde5df /testing/mdevd
parent9d98b12745eeb0cc885b685ca215ccc63b4dd7c3 (diff)
downloadaports-5333ec4645d3267e2a9169d5b16a562055e23987.tar.bz2
aports-5333ec4645d3267e2a9169d5b16a562055e23987.tar.xz
testing/mdevd: new aport
https://skarnet.org/software/mdevd/ A netlink-listening device manager similar to mdev
Diffstat (limited to 'testing/mdevd')
-rw-r--r--testing/mdevd/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/mdevd/APKBUILD b/testing/mdevd/APKBUILD
new file mode 100644
index 0000000000..74f3be3543
--- /dev/null
+++ b/testing/mdevd/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
+# Contributor: Laurent Bercot <ska-devel@skarnet.org>
+#
+# NOTE: For now this APKBUILD is pure mechanism.
+# A later version of the APKBUILD will install mdevd as device manager,
+# replacing busybox mdev.
+pkgname=mdevd
+pkgver=0.1.0.1
+pkgrel=0
+pkgdesc="A netlink-listening device manager similar to mdev"
+url="https://skarnet.org/software/mdevd/"
+arch="all"
+license="ISC"
+options="!check" # no tests provided
+makedepends="linux-headers skalibs-dev"
+subpackages="$pkgname-doc"
+source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+
+ ./configure \
+ --enable-shared \
+ --enable-static \
+ --disable-allstatic
+ make
+}
+
+package() {
+ cd "$builddir"
+
+ make install DESTDIR="$pkgdir"
+
+ mkdir -p "$pkgdir"/usr/share/doc
+ cp -a doc "$pkgdir"/usr/share/doc/$pkgname
+}
+
+sha512sums="c2260a90bc99f468ed4f8de06982fdae12bae50f25e3be0c593311b0d5e856d00aca3768fac84089a13065330aa92b21f8e1304dd6d46d76e81e2f0f20f17b3e mdevd-0.1.0.1.tar.gz"