blob: 06c5b4403f67b265f199b30fb8f3ab094e11ce78 (
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
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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.1.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-dev $pkgname-doc $pkgname-openrc"
source="https://skarnet.org/software/mdevd/mdevd-$pkgver.tar.gz
$pkgname.initd"
build() {
./configure \
--enable-shared \
--enable-static \
--disable-allstatic
make
}
package() {
make install DESTDIR="$pkgdir"
mkdir -p "$pkgdir"/usr/share/doc
cp -a doc "$pkgdir"/usr/share/doc/$pkgname
install -D -m 755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
sha512sums="cd7d6dcddc2bca30a3dd4583c2aa800fc54b559d4ca9385d3247eec93ee8500493254a60e47028243f715e6a3517930135407a5249641c8f23efdcaa67a50467 mdevd-0.1.1.1.tar.gz
d579d22e0047c43b8b59c73874f28690e0b5665bbe5bf1b38ebedb1df87af601412b0afc348a1ac5d985e28f9206a7d4f97b1b714e21c8cf9461c6b96b662d95 mdevd.initd"
|