blob: 4845a01ae235920f09ac567a43f97000e75b60f9 (
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
39
40
41
42
43
|
# 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 $pkgname-openrc"
source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname.initd"
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
install -D -m 755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
sha512sums="c2260a90bc99f468ed4f8de06982fdae12bae50f25e3be0c593311b0d5e856d00aca3768fac84089a13065330aa92b21f8e1304dd6d46d76e81e2f0f20f17b3e mdevd-0.1.0.1.tar.gz
0b52af599d73abba8033498c5449c82f22ab2e8ecdfaa58c5ce112604e3e9eb3ce179930891173b41026e11494a6c2e5a6cd7504853ca96beb7ff8ea3754341a mdevd.initd"
|