Skip to content

Commit a12b4f3

Browse files
committed
mdevd: add service.
Thanks to dkwo for the initial work and Duncaen for enhancements.
1 parent 10f0941 commit a12b4f3

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

srcpkgs/mdevd/files/mdevd/run

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
exec 2>&1
4+
[ -r ./conf ] && . ./conf
5+
exec mdevd ${OPTS:- -b 200000 -O4}

srcpkgs/mdevd/template

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Template file for 'mdevd'
22
pkgname=mdevd
33
version=0.1.6.2
4-
revision=1
4+
revision=2
55
build_style=configure
66
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
77
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
@@ -15,9 +15,9 @@ homepage="https://skarnet.org/software/mdevd/"
1515
changelog="https://skarnet.org/software/mdevd/upgrade.html"
1616
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
1717
checksum=ac2fcf9004f07904592c5894e2c401e15bb027ecf37bcb8ea661e2a7993447be
18-
1918
build_options="static"
2019
desc_option_static="Build static binaries"
20+
make_check=no # no tests
2121

2222
case "$XBPS_TARGET_MACHINE" in
2323
*-musl)
@@ -30,6 +30,7 @@ post_install() {
3030
vlicense COPYING
3131
vdoc README
3232
vcopy "doc/*" usr/share/doc/${pkgname}
33+
vsv mdevd
3334
}
3435

3536
mdevd-doc_package() {

0 commit comments

Comments
 (0)