New package: mdevd-0.1.0.2.

This commit is contained in:
maxice8 2018-08-18 16:31:46 -03:00
parent 1f835c8284
commit bac1dade82
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 36 additions and 0 deletions

1
srcpkgs/mdevd-doc Symbolic link
View File

@ -0,0 +1 @@
mdevd

35
srcpkgs/mdevd/template Normal file
View File

@ -0,0 +1,35 @@
# Template file for 'mdevd'
pkgname=mdevd
version=0.1.0.2
revision=1
build_style=configure
configure_args="--includedir=/usr/include --bindir=/usr/bin --libdir=/usr/lib
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
--with-lib=${XBPS_CROSS_BASE}/usr/lib"
makedepends="skalibs-devel"
short_desc="Small mdev-compatible kernel hotplug daemon similar to udevd"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="ISC"
homepage="https://skarnet.org/software/mdevd/"
changelog="https://skarnet.org/software/mdevd/upgrade.html"
distfiles="https://skarnet.org/software/mdevd/mdevd-${version}.tar.gz"
checksum=bde76395aeaa8a8edacc9bc8bbe11f8d476cc5b323a8a03c874cd094c813f6d4
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" nsss-devel" configure_args+=" --enable-nsss" ;;
esac
post_install() {
vlicense COPYING
vdoc README
vcopy "doc/*" usr/share/doc/${pkgname}
}
mdevd-doc_package() {
noarch=yes
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}